Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi all,
In BB2:BB85 and BC2:BC85 some cells contain "x", all other cells contain nothing. If a BB cell contains an "x" the corresponding BC cell (in the same row) can contain either "x" or nothing, vice versa. I tried to find the number of cases in which of the BB cell and the BC cell in the same row either one or both contain an "x". I know it is 19. But =SUMPRODUCT(--(BB2:BB85="x")+(--(BC2:BC85="x))) gives 32 (total number of x) =SUMPRODUCT(--(BB2:BB85="x")*(--(BC2:BC85="x"))) gives 13 (number of corresponding cells with both x) so I have to subtract to find the correct number which seems to me rather inefficient. Although I did not drink alcohol, I can't find the correct formula. What did I wrong? Jack Sons The Netherlands |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sumproduct? sumif(sumproduct)? | Excel Worksheet Functions | |||
Using SUMPRODUCT... | Excel Worksheet Functions | |||
SUMPRODUCT help | Excel Worksheet Functions | |||
Please help w/Sumproduct! | Excel Worksheet Functions | |||
Sumproduct | Excel Discussion (Misc queries) |