Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=SUMPRODUCT(--($G$2:$G$8="Smith"),--($K$2:$K$8=1),--($S$2:$S$8=1))
"Terri" wrote: I have a spreadsheet that I need to find "Smith", then count if both dog and cat appear for the same row, i.e. (G) (K) (dog) (S) (cat) Smith 1 1 Smith 1 Smith 1 Jones 1 1 Nelson 1 1 Anderson 1 1 Smith 1 1 The answer in this particular example should be 2 (there are two rows of Smith that meet the criteria) Any assistance would be greatly appreciated. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SUMPRODUCT, count & sum | Excel Worksheet Functions | |||
count if or sumproduct? | Excel Discussion (Misc queries) | |||
Count without SUMPRODUCT | Excel Worksheet Functions | |||
SUM, COUNT and SUMPRODUCT | Excel Worksheet Functions | |||
Count if and Sumproduct | Excel Discussion (Misc queries) |