boolean result format TRUE/FALSE or 0/1

  • Thread starter Thread starter Jos vanreisen
  • Start date Start date
J

Jos vanreisen

Using a boolean expression in Excel 2000 normally (I
think) gives a result with the format TRUE or FALSE.
However, sometimes I get the result 1 or 0.
I cannot change this by normal formatting facilities, nor
I can find a sheet option that sets this format.

Can anyone tell me what sets the output format of a
boolean and how I can control this

Thanks in advance
Jos
 
It would be interesting to see an example that returns 0 or 1. The only way
I know to get this is by mixing Boolean operations with arithmetic ones. So,
for example, while =A1>3 will return TRUE or FALSE, =(A1>3)*1 will return 1
or 0.
Similarly =(A1>3)*A1 gives the same result as =IF(A1>3, A1,0).
Best wishes
Bernard
 

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