Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Good morning --
I would like to average the values of cells B14:R14 if the corresponding value in the range B6:R6 is "Y". I've searched these threads, tried 'sumproduct' and CSE formulas, but just can't quite get over the hump. Any assistance offered would be greatly appreciated. Thanks in advance. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=AVERAGE(IF(B6:R6="Y",B14:R14))
entered with ctrl + shift & enter if B6:R6 can have Y and B14:R14 can be blank and you don't want count that as 0 =AVERAGE(IF(B6:R6="Y",IF(B14:R14<"",B14:R14))) also array entered -- Regards, Peo Sjoblom ' "pdberger" wrote in message ... Good morning -- I would like to average the values of cells B14:R14 if the corresponding value in the range B6:R6 is "Y". I've searched these threads, tried 'sumproduct' and CSE formulas, but just can't quite get over the hump. Any assistance offered would be greatly appreciated. Thanks in advance. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You absolutely be da' man! Thanks very much.
It occurs to me that the CSE formulas, and the power of the 'embedded logic' inside things like sumproduct are so powerful, and I wonder why the help isn't better for these kinds of features... Thanks again. "Peo Sjoblom" wrote: =AVERAGE(IF(B6:R6="Y",B14:R14)) entered with ctrl + shift & enter if B6:R6 can have Y and B14:R14 can be blank and you don't want count that as 0 =AVERAGE(IF(B6:R6="Y",IF(B14:R14<"",B14:R14))) also array entered -- Regards, Peo Sjoblom ' "pdberger" wrote in message ... Good morning -- I would like to average the values of cells B14:R14 if the corresponding value in the range B6:R6 is "Y". I've searched these threads, tried 'sumproduct' and CSE formulas, but just can't quite get over the hump. Any assistance offered would be greatly appreciated. Thanks in advance. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks for the feedback, the help in Excel is really bad, the last that was
decent was back in 97 and it didn't dwell on these matters,. There are websites that do this for array formulas http://www.cpearson.com/excel/ArrayFormulas.aspx for sumproduct http://www.xldynamic.com/source/xld.SUMPRODUCT.html -- Regards, Peo Sjoblom "pdberger" wrote in message ... You absolutely be da' man! Thanks very much. It occurs to me that the CSE formulas, and the power of the 'embedded logic' inside things like sumproduct are so powerful, and I wonder why the help isn't better for these kinds of features... Thanks again. "Peo Sjoblom" wrote: =AVERAGE(IF(B6:R6="Y",B14:R14)) entered with ctrl + shift & enter if B6:R6 can have Y and B14:R14 can be blank and you don't want count that as 0 =AVERAGE(IF(B6:R6="Y",IF(B14:R14<"",B14:R14))) also array entered -- Regards, Peo Sjoblom ' "pdberger" wrote in message ... Good morning -- I would like to average the values of cells B14:R14 if the corresponding value in the range B6:R6 is "Y". I've searched these threads, tried 'sumproduct' and CSE formulas, but just can't quite get over the hump. Any assistance offered would be greatly appreciated. Thanks in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Average range including blank cells: #DIV/0! | Excel Worksheet Functions | |||
How do I average a range of cells when one cell contains #N/A | Excel Discussion (Misc queries) | |||
How can i put a negative sign on a range of selected cells? | Excel Discussion (Misc queries) | |||
Automatically clear values from a range of selected cells | Excel Discussion (Misc queries) | |||
How do I merge in a selected range of cells out of Excel? | Excel Discussion (Misc queries) |