Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
sum a range if two conditions are met
I would like to sum the numbers in a column that coincide with the rows where
the numbers in two other columns meet a certain condition. For example, I need to find all rows where column A and column B have a value of one; then the corresponding values for those rows in column C need to be summed. I thought this may be a sumif formula, however I don't know if more than one function can be nested in a sumif formula. Any help with this would be greatly appreciated. -- Valerie |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
sum a range if two conditions are met
Try,
=SUMPRODUCT((A1:A20=1)*(B1:B20=1)*(C1:C20)) Mike "Valerie" wrote: I would like to sum the numbers in a column that coincide with the rows where the numbers in two other columns meet a certain condition. For example, I need to find all rows where column A and column B have a value of one; then the corresponding values for those rows in column C need to be summed. I thought this may be a sumif formula, however I don't know if more than one function can be nested in a sumif formula. Any help with this would be greatly appreciated. -- Valerie |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
sum a range if two conditions are met
Hi,
Try This: =SUMPRODUCT(--(A1:A100=B1:B100),C1:C100) Thanks, -- Farhad Hodjat "Valerie" wrote: I would like to sum the numbers in a column that coincide with the rows where the numbers in two other columns meet a certain condition. For example, I need to find all rows where column A and column B have a value of one; then the corresponding values for those rows in column C need to be summed. I thought this may be a sumif formula, however I don't know if more than one function can be nested in a sumif formula. Any help with this would be greatly appreciated. -- Valerie |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
sum a range if two conditions are met
Sorry it was a missunderestood the formula i gave you sums all rows that A &
B are equal Mike H's answer is correct. Thanks, -- Farhad Hodjat "Farhad" wrote: Hi, Try This: =SUMPRODUCT(--(A1:A100=B1:B100),C1:C100) Thanks, -- Farhad Hodjat "Valerie" wrote: I would like to sum the numbers in a column that coincide with the rows where the numbers in two other columns meet a certain condition. For example, I need to find all rows where column A and column B have a value of one; then the corresponding values for those rows in column C need to be summed. I thought this may be a sumif formula, however I don't know if more than one function can be nested in a sumif formula. Any help with this would be greatly appreciated. -- Valerie |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Match 2 Conditions then Avg Range | Excel Discussion (Misc queries) | |||
Counting on two conditions, one with a range | Excel Worksheet Functions | |||
Summing a range with conditions | Excel Worksheet Functions | |||
Add a Dynamic Range with 2 Conditions Q | Excel Worksheet Functions | |||
How do I sum a range after 2 different conditions are met (2 colu. | Excel Discussion (Misc queries) |