PC Review


Reply
Thread Tools Rate Thread

Average IF Function

 
 
SandiVaughn
Guest
Posts: n/a
 
      30th Apr 2010
How can you test a range of cells to be greater than or less than another
cell using the average if function?

Ex: =AVERAGEIFS(A1:A4,A1:A4,"A6",A1:A4,"A7")

Keep getting the #DIV/0! error!

HELP!!!!! Thank you!
 
Reply With Quote
 
 
 
 
Ashish Mathur
Guest
Posts: n/a
 
      30th Apr 2010
Hi,

See if it works by removing the double quotes. Else, try this

=sumproduct((A1:A4>=A6)*(A1:A4<=A4)*(A1:A4))/sumproduct((A1:A4>=A6)*(A1:A4<=A4))

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"SandiVaughn" <(E-Mail Removed)> wrote in message
news:B74ED6DC-6F56-4A28-94C4-(E-Mail Removed)...
> How can you test a range of cells to be greater than or less than another
> cell using the average if function?
>
> Ex: =AVERAGEIFS(A1:A4,A1:A4,"A6",A1:A4,"A7")
>
> Keep getting the #DIV/0! error!
>
> HELP!!!!! Thank you!


 
Reply With Quote
 
ozgrid.com
Guest
Posts: n/a
 
      30th Apr 2010
Add "<>0" as the 1st criteria.



--
Regards
Dave Hawley
www.ozgrid.com
"SandiVaughn" <(E-Mail Removed)> wrote in message
news:B74ED6DC-6F56-4A28-94C4-(E-Mail Removed)...
> How can you test a range of cells to be greater than or less than another
> cell using the average if function?
>
> Ex: =AVERAGEIFS(A1:A4,A1:A4,"A6",A1:A4,"A7")
>
> Keep getting the #DIV/0! error!
>
> HELP!!!!! Thank you!


 
Reply With Quote
 
T. Valko
Guest
Posts: n/a
 
      30th Apr 2010
Try it like this...

=AVERAGEIFS(A1:A4,A1:A4,">="&A6,A1:A4,"<="&A7)

--
Biff
Microsoft Excel MVP


"SandiVaughn" <(E-Mail Removed)> wrote in message
news:B74ED6DC-6F56-4A28-94C4-(E-Mail Removed)...
> How can you test a range of cells to be greater than or less than another
> cell using the average if function?
>
> Ex: =AVERAGEIFS(A1:A4,A1:A4,"A6",A1:A4,"A7")
>
> Keep getting the #DIV/0! error!
>
> HELP!!!!! Thank you!



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: A useful AVERAGE calculation without using the built-in AVERAGE function קובי Microsoft Excel New Users 0 3rd Feb 2011 04:25 PM
Re: A useful AVERAGE calculation without using the built-in AVERAGE function Roger Govier Microsoft Excel New Users 0 16th Jan 2011 01:20 PM
Error Handling #N/A with AVERAGE Function - Average of values in Row Sam via OfficeKB.com Microsoft Excel Worksheet Functions 13 31st Jul 2005 03:59 PM
How do I nesting subtotal function within average function in Exc =?Utf-8?B?QW15IFllaA==?= Microsoft Excel Worksheet Functions 4 19th Jan 2005 06:23 PM
convert =IF(ISERROR(AVERAGE(V10:V13)),"",AVERAGE(V10:V13)) to a function Niki Odolphi Microsoft Excel Programming 5 20th Mar 2004 10:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:22 AM.