Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I want to create a formula to count non-blank (text) cells in a column for
those cells that have an indicator in another column. For example: A B 1 CAT X 2 DOG 3 X 4 GOD X The answer I need is 2 - there are two non-blank cells in Column A that have an indicator in Column B. So, count all non-blank cells in Column A, where there is an X in Column B (the columns may not be adjacent). Thanls. |
#2
![]() |
|||
|
|||
![]()
One way
=SUMPRODUCT(--(A2:A100<""),--(B2:B100="X")) Regards, Peo Sjoblom "carricka" wrote: I want to create a formula to count non-blank (text) cells in a column for those cells that have an indicator in another column. For example: A B 1 CAT X 2 DOG 3 X 4 GOD X The answer I need is 2 - there are two non-blank cells in Column A that have an indicator in Column B. So, count all non-blank cells in Column A, where there is an X in Column B (the columns may not be adjacent). Thanls. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Expanding conditional formating with reference cells changing | Excel Discussion (Misc queries) | |||
simple formula with blank cells | Excel Worksheet Functions | |||
Count cells in one range based on parameters in another range | Excel Worksheet Functions | |||
What function can make cells shift up when they are blank? | Excel Worksheet Functions | |||
Blank Cells in Pivot Tables | Excel Discussion (Misc queries) |