Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I am trying to write a formula to return a count if cell a1 equals "value a"
and cell a2 is not blank. I have tried various combinations of countif, if(and..., counta, and count formulas with no success! Can anyone assist me with creating a formula? Thanks- Michele |
#2
![]() |
|||
|
|||
![]()
Hi Michele
one option =SUMPRODUCT(--(A1="a"),--(A2<"")) check out http://www.xldynamic.com/source/xld.SUMPRODUCT.html for details on how this function works -- Cheers JulieD check out www.hcts.net.au/tipsandtricks.htm ....well i'm working on it anyway "Michele" wrote in message ... I am trying to write a formula to return a count if cell a1 equals "value a" and cell a2 is not blank. I have tried various combinations of countif, if(and..., counta, and count formulas with no success! Can anyone assist me with creating a formula? Thanks- Michele |
#3
![]() |
|||
|
|||
![]()
try
=sumproduct(--(A1:Z1="value a"),--(A2:Z2<"")) assuming you want rows checked "Michele" wrote: I am trying to write a formula to return a count if cell a1 equals "value a" and cell a2 is not blank. I have tried various combinations of countif, if(and..., counta, and count formulas with no success! Can anyone assist me with creating a formula? Thanks- Michele |
#4
![]() |
|||
|
|||
![]()
Thank you both so much! It worked! Now my manager can get off my back :)
"bj" wrote: try =sumproduct(--(A1:Z1="value a"),--(A2:Z2<"")) assuming you want rows checked "Michele" wrote: I am trying to write a formula to return a count if cell a1 equals "value a" and cell a2 is not blank. I have tried various combinations of countif, if(and..., counta, and count formulas with no success! Can anyone assist me with creating a formula? Thanks- Michele |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
excel should have a function to count sheets | Excel Worksheet Functions | |||
How do I add the count function to the toolbar? | Excel Worksheet Functions | |||
Can I count in an array based on a function? | Excel Worksheet Functions | |||
PivotTable Macro Reverts to Count Function | Excel Worksheet Functions | |||
Sum and Count Function | Excel Worksheet Functions |