format logical values

K

KRK

Hello, I have Excel 2007

I have a column of logical expressions showing as TRUE or FALSE. No problem
,but can I format them to show 1 or 0 ?

Thanks

K
 
M

Mike H

Hi,

Multiply the boolean True/False by 1 to get 1 for true and 0 for false.E.G.

=(A1="")*1

Returns 1 if A1 is empty and ) id it isn't

Mike
 
M

Max

One way is to add a zero. Copy an empty cell.
Then right-click on the col > paste special > Add > ok
 

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