View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default Formatting TRUE/FALSE to 1/0

I wouldn't do this.

I think it causes other problems later on, but you could use:
Tools|Options|transition tab|Check Transition formula evalation.

If you do this, remember that you changed this setting when you're debugging
other stuff that looks fine--but just doesn't work the way you think it should.


Smallweed wrote:

It's nice to use TRUEs and FALSEs in simple calculations (such as add and
multiply) where TRUE cells are treated by Excel as having a value of 1 and
FALSE cells 0 - although it is strange that =SUM treats them all as 0.

Does anyone know a way of formatting logical cells to actually display 1 for
TRUE and 0 for FALSE?

Obviously one could put together a macro or UDF that physically converted
these values but I would ideally like some kind of Excel format.


--

Dave Peterson