Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I need a function to count nonblank cells in column A if corresponding cells
in column B are not blank. Please help. I have tried =countif(A2:A23,"*"+B2:B23,"*") but doesn't work |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this:
=SUMPRODUCT(--(A2:A23<""),--(B2:B23<"")) <"" means: not equal to blank -- Biff Microsoft Excel MVP "earlfj" wrote in message ... I need a function to count nonblank cells in column A if corresponding cells in column B are not blank. Please help. I have tried =countif(A2:A23,"*"+B2:B23,"*") but doesn't work |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you, Thank you. Works perfect. I have spent hours trying to figure this
out. "T. Valko" wrote: Try this: =SUMPRODUCT(--(A2:A23<""),--(B2:B23<"")) <"" means: not equal to blank -- Biff Microsoft Excel MVP "earlfj" wrote in message ... I need a function to count nonblank cells in column A if corresponding cells in column B are not blank. Please help. I have tried =countif(A2:A23,"*"+B2:B23,"*") but doesn't work |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You're welcome. Thanks for the feedback!
-- Biff Microsoft Excel MVP "earlfj" wrote in message ... Thank you, Thank you. Works perfect. I have spent hours trying to figure this out. "T. Valko" wrote: Try this: =SUMPRODUCT(--(A2:A23<""),--(B2:B23<"")) <"" means: not equal to blank -- Biff Microsoft Excel MVP "earlfj" wrote in message ... I need a function to count nonblank cells in column A if corresponding cells in column B are not blank. Please help. I have tried =countif(A2:A23,"*"+B2:B23,"*") but doesn't work |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
COUNTIF not including something in both columns | Excel Worksheet Functions | |||
Countif in non adjacent columns | Excel Worksheet Functions | |||
countif in 2 columns | Excel Discussion (Misc queries) | |||
COUNTIF with criteria in 2 columns | Excel Discussion (Misc queries) | |||
Help with countif using two columns | Excel Worksheet Functions |