Amaising for me, IF condition

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using IF("TOTAL">12,"TRUE","FALSE")

in my opinion system should Print FALSE, but it is priting TRUE, any body
can tell me why?

Mujeeb
 
"Mujeeb ur Rehman, FBL-GRW-PK"
I am using IF("TOTAL">12,"TRUE","FALSE")

in my opinion system should Print FALSE, but it is priting TRUE, any body
can tell me why?

Mujeeb

Hi Mujeeb

In Excel *any* string (and "TOTAL" is a string because of the quotes) is
always greater than *any* number.
 
Use this instead...........

=IF(TOTAL*1>12,"TRUE","FALSE")

Vaya con Dios,
Chuck, CABGx3
 

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

Back
Top