Home |
Search |
Today's Posts |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You're welcome. Thanks for the feedback!
-- Biff Microsoft Excel MVP "Carl_B" wrote in message ... :-) I have an issue with over doing the parentheses. And I realize that more is not necessarily better! Thank you, and thanks to Pete and Stan as well. "T. Valko" wrote: Using {=AVERAGE(IF((A2:A9176="philadelphia"),(I2:I9176) ))} produces the correct result OK, now get rid of the unnecessary parentheses. Array entered: =AVERAGE(IF(A2:A9176="philadelphia",I2:I9176)) -- Biff Microsoft Excel MVP "Carl_B" wrote in message ... Using {=AVERAGE(IF((A2:A9176="philadelphia"),(I2:I9176)) )} produces the correct result "Carl_B" wrote: I have a worksheet with 5 city names in column A and dollar amounts in column I. I need to calculate the average amount for each city. I use the array formula {=AVERAGE(I2:I9176*(A2:A9176="philadelphia"))} and get 621.45. I also did this using an average value calculation in a Pivot Table and got the result 1987.54 for Philadelphia. The other 4 cities had similar discrepancies. Is there something wrong with the array formula (No I did not type the brackets) or am I interpreting the two results incorrectly? Thanks, Carl . |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Whats wrong with this formula | Excel Discussion (Misc queries) | |||
Whats wrong with this OR formula? | Excel Worksheet Functions | |||
whats wrong with the formula? | Excel Worksheet Functions | |||
Whats wrong with this? | Excel Discussion (Misc queries) | |||
Whats Wrong with this?? | Excel Worksheet Functions |