Formula Problem

T

the-jackal

Hope someone can help,

I am using this formula =IF(AND(G12="Fail"),"1","0") and need to add u
all the column but I keep getting 0 even though there are 14 1’s in th
column.

Thanks in advance

Car
 
D

Dave Peterson

Drop the double quotes around the numbers:
=IF(AND(G12="Fail"),1,0)

Otherwise, those values will be treated as text.
 
P

Pete_UK

I'm not sure why you need the AND in there, and you don't need the
double-quotes, as the returned values will be treated as text (and thus
sum to zero). Try this

=IF(G12="Fail",1,0)

and copy down the column as needed.

Hope this helps.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top