#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 145
Default AVg question

Would you somebody please tell me what the formula is:

If ByDay!a1:a65000 = "DFW" then do an average of the percentages found in
ByDay!d1:d65000


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default AVg question

=IF(COUNTIF(a1:a65000,"dfw")=65000,AVERAGE(d1:d650 00),"")

But I'm not sure that's what you're looking to do. The above says calculate
the average in the range D1:D65000 only if all cells in the range A1:A65000
contain "DFW".

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Tammy" wrote:

Would you somebody please tell me what the formula is:

If ByDay!a1:a65000 = "DFW" then do an average of the percentages found in
ByDay!d1:d65000


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 145
Default AVg question

thats exactly what I want. thanks.

"Dave F" wrote:

=IF(COUNTIF(a1:a65000,"dfw")=65000,AVERAGE(d1:d650 00),"")

But I'm not sure that's what you're looking to do. The above says calculate
the average in the range D1:D65000 only if all cells in the range A1:A65000
contain "DFW".

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Tammy" wrote:

Would you somebody please tell me what the formula is:

If ByDay!a1:a65000 = "DFW" then do an average of the percentages found in
ByDay!d1:d65000


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,081
Default AVg question

this is an array formula that you commit by pressing Ctrl-Shift-Enter all at
once

=average(if(ByDay!a1:a65000 = "DFW",ByDay!d1:d65000))

"Tammy" wrote:

Would you somebody please tell me what the formula is:

If ByDay!a1:a65000 = "DFW" then do an average of the percentages found in
ByDay!d1:d65000


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default AVg question

Try:

=AVERAGE(IF(ByDay!A1:A65000="DFW",ByDay!D1:D65000) )

Enter with Ctrl+Shift+Enter

"Tammy" wrote:

Would you somebody please tell me what the formula is:

If ByDay!a1:a65000 = "DFW" then do an average of the percentages found in
ByDay!d1:d65000




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 145
Default AVg question

thank you everyone! The first response, when I entered it, gave me a blank
result. But =AVERAGE(IF(ByDay!A1:A65000="DFW",ByDay!D1:D65000) ) CSE worked!

thank you thank you

"Toppers" wrote:

Try:

=AVERAGE(IF(ByDay!A1:A65000="DFW",ByDay!D1:D65000) )

Enter with Ctrl+Shift+Enter

"Tammy" wrote:

Would you somebody please tell me what the formula is:

If ByDay!a1:a65000 = "DFW" then do an average of the percentages found in
ByDay!d1:d65000


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default AVg question

Yeah I didn't think my response would help you. As I say, it would only
return the average if ALL cells in A1:A65000 contained "DFW"

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Tammy" wrote:

thank you everyone! The first response, when I entered it, gave me a blank
result. But =AVERAGE(IF(ByDay!A1:A65000="DFW",ByDay!D1:D65000) ) CSE worked!

thank you thank you

"Toppers" wrote:

Try:

=AVERAGE(IF(ByDay!A1:A65000="DFW",ByDay!D1:D65000) )

Enter with Ctrl+Shift+Enter

"Tammy" wrote:

Would you somebody please tell me what the formula is:

If ByDay!a1:a65000 = "DFW" then do an average of the percentages found in
ByDay!d1:d65000


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
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
If Question carl Excel Worksheet Functions 2 April 27th 06 06:23 PM
< or question D Excel Worksheet Functions 3 February 18th 06 05:41 PM
The question is an excel question that I need to figure out howto do in excel. Terry Excel Worksheet Functions 3 January 23rd 06 06:22 PM
Max and MIN question scott45 Excel Worksheet Functions 0 October 31st 05 07:50 PM


All times are GMT +1. The time now is 09:11 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"