Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SumIf two axes
How can I sum cells in range B2:F10 based on two criteria:
* A2:A10 = "XXX" * B1:F1 = "YYY" Thanks, Oscar. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SumIf two axes
=INDEX(B2:F10,MATCH("XXX",A2:A10,0),MATCH("YYY",B1 :F1,0))
-- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Oscar" wrote in message ... How can I sum cells in range B2:F10 based on two criteria: * A2:A10 = "XXX" * B1:F1 = "YYY" Thanks, Oscar. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SumIf two axes
Thanks, but you solution only finds value of one cell in range B2:F10. "XXX"
can be found in more thant one cell in range A2:A10 and "YYY", which can be found in more than one cell in range B1:F1. I want to sum up values of all cells in range B2:F10 that meet specified criteria. Oscar "Bob Phillips" je napisal: =INDEX(B2:F10,MATCH("XXX",A2:A10,0),MATCH("YYY",B1 :F1,0)) -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Oscar" wrote in message ... How can I sum cells in range B2:F10 based on two criteria: * A2:A10 = "XXX" * B1:F1 = "YYY" Thanks, Oscar. |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SumIf two axes
I wondered if that might be the case, but thought, no, can't be <G
=SUMPRODUCT((A2:A10="XXX")*(B1:F1="YYY")*(B2:F10)) -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Oscar" wrote in message ... Thanks, but you solution only finds value of one cell in range B2:F10. "XXX" can be found in more thant one cell in range A2:A10 and "YYY", which can be found in more than one cell in range B1:F1. I want to sum up values of all cells in range B2:F10 that meet specified criteria. Oscar "Bob Phillips" je napisal: =INDEX(B2:F10,MATCH("XXX",A2:A10,0),MATCH("YYY",B1 :F1,0)) -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Oscar" wrote in message ... How can I sum cells in range B2:F10 based on two criteria: * A2:A10 = "XXX" * B1:F1 = "YYY" Thanks, Oscar. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to use SUMIF to return sums between two values located in cells | Excel Worksheet Functions | |||
SUMIF function help | Excel Worksheet Functions | |||
Help with SUMIF function | Excel Worksheet Functions | |||
Sumif of Sumif perhaps? | Excel Discussion (Misc queries) | |||
SUMIF | Excel Worksheet Functions |