#1   Report Post  
jh3016
 
Posts: n/a
Default Average

Here's my formula:
=AVERAGE(IF(MoTotals!$F$17:$F$280,MoTotals!$F$17: $F$28))

Now I want to add in this formula
And If cell < A21

Just not sure how to put andif

Thanks in advance.
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default Average

Do you just want to do the average if and only if a certain cell value is
equal to the value in A21? If so, then

=IF(B21=A21,AVERAGE(IF(MOTotals!$F$17:$F$280,MOTo tals!$F$17:$F$28)),"")

as an array formula

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"jh3016" wrote in message
...
Here's my formula:
=AVERAGE(IF(MoTotals!$F$17:$F$280,MoTotals!$F$17: $F$28))

Now I want to add in this formula
And If cell < A21

Just not sure how to put andif

Thanks in advance.



  #3   Report Post  
jh3016
 
Posts: n/a
Default Average

Sorry, what I want: if B21 not equal to "4/1/2005", then calculate the rest
of the formula.



"Bob Phillips" wrote:

Do you just want to do the average if and only if a certain cell value is
equal to the value in A21? If so, then

=IF(B21=A21,AVERAGE(IF(MOTotals!$F$17:$F$280,MOTo tals!$F$17:$F$28)),"")

as an array formula

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"jh3016" wrote in message
...
Here's my formula:
=AVERAGE(IF(MoTotals!$F$17:$F$280,MoTotals!$F$17: $F$28))

Now I want to add in this formula
And If cell < A21

Just not sure how to put andif

Thanks in advance.




  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default Average

=IF(B21<--"2005-04-01",,AVERAGE(IF(MOTotals!$F$17:$F$280,MOTotals!$F $17:$F
$28)),"")


--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"jh3016" wrote in message
...
Sorry, what I want: if B21 not equal to "4/1/2005", then calculate the

rest
of the formula.



"Bob Phillips" wrote:

Do you just want to do the average if and only if a certain cell value

is
equal to the value in A21? If so, then

=IF(B21=A21,AVERAGE(IF(MOTotals!$F$17:$F$280,MOTo tals!$F$17:$F$28)),"")

as an array formula

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"jh3016" wrote in message
...
Here's my formula:
=AVERAGE(IF(MoTotals!$F$17:$F$280,MoTotals!$F$17: $F$28))

Now I want to add in this formula
And If cell < A21

Just not sure how to put andif

Thanks in advance.






  #5   Report Post  
Sloth
 
Posts: n/a
Default Average

=AVERAGE(IF(AND(MoTotals!$F$17:$F$280,B21<"4/1/2005"),MoTotals!$F$17:$F$28))

This should work as well.

"jh3016" wrote:

Sorry, what I want: if B21 not equal to "4/1/2005", then calculate the rest
of the formula.



"Bob Phillips" wrote:

Do you just want to do the average if and only if a certain cell value is
equal to the value in A21? If so, then

=IF(B21=A21,AVERAGE(IF(MOTotals!$F$17:$F$280,MOTo tals!$F$17:$F$28)),"")

as an array formula

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"jh3016" wrote in message
...
Here's my formula:
=AVERAGE(IF(MoTotals!$F$17:$F$280,MoTotals!$F$17: $F$28))

Now I want to add in this formula
And If cell < A21

Just not sure how to put andif

Thanks in advance.






  #6   Report Post  
jh3016
 
Posts: n/a
Default Average

This only returns 0.00%, which is not right. Does this being a date make a
difference? Is there a DATE function that needs to be used?



"Sloth" wrote:

=AVERAGE(IF(AND(MoTotals!$F$17:$F$280,B21<"4/1/2005"),MoTotals!$F$17:$F$28))

This should work as well.

"jh3016" wrote:

Sorry, what I want: if B21 not equal to "4/1/2005", then calculate the rest
of the formula.



"Bob Phillips" wrote:

Do you just want to do the average if and only if a certain cell value is
equal to the value in A21? If so, then

=IF(B21=A21,AVERAGE(IF(MOTotals!$F$17:$F$280,MOTo tals!$F$17:$F$28)),"")

as an array formula

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"jh3016" wrote in message
...
Here's my formula:
=AVERAGE(IF(MoTotals!$F$17:$F$280,MoTotals!$F$17: $F$28))

Now I want to add in this formula
And If cell < A21

Just not sure how to put andif

Thanks in advance.



  #7   Report Post  
Dave Peterson
 
Posts: n/a
Default Average

maybe...

=AVERAGE(IF(AND(MoTotals!$F$17:$F$280,B21<date(2 005,4,1)),
MoTotals!$F$17:$F$28))

(still all one cell and still array entered)

jh3016 wrote:

This only returns 0.00%, which is not right. Does this being a date make a
difference? Is there a DATE function that needs to be used?

"Sloth" wrote:

=AVERAGE(IF(AND(MoTotals!$F$17:$F$280,B21<"4/1/2005"),MoTotals!$F$17:$F$28))

This should work as well.

"jh3016" wrote:

Sorry, what I want: if B21 not equal to "4/1/2005", then calculate the rest
of the formula.



"Bob Phillips" wrote:

Do you just want to do the average if and only if a certain cell value is
equal to the value in A21? If so, then

=IF(B21=A21,AVERAGE(IF(MOTotals!$F$17:$F$280,MOTo tals!$F$17:$F$28)),"")

as an array formula

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"jh3016" wrote in message
...
Here's my formula:
=AVERAGE(IF(MoTotals!$F$17:$F$280,MoTotals!$F$17: $F$28))

Now I want to add in this formula
And If cell < A21

Just not sure how to put andif

Thanks in advance.




--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
plotted Average Micayla Bergen Charts and Charting in Excel 4 July 15th 05 12:13 PM
Weighed Average of a weiged average when there are blanks krl - ExcelForums.com Excel Discussion (Misc queries) 1 July 6th 05 07:37 PM
What is this kind of average called? havocdragon Excel Worksheet Functions 3 June 24th 05 05:10 PM
AVERAGE and STDEV functions with logic t-rung Excel Worksheet Functions 1 May 26th 05 07:11 PM
Average the Last Five Cells in a Column Warrior Princess Excel Worksheet Functions 3 March 16th 05 02:12 PM


All times are GMT +1. The time now is 09:49 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"