Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default custom format for boolean values

I need to display boolean worksheet values not as TRUE or FALSE, but as "Y"
and "N" without the use of conditional formatting, macros or functions; a
custom format.

The custom format:
"Y";;"N";
works if the field value is numeric, but not for boolean expressions or
values.

  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: custom format for boolean values

Hey there!

To display boolean worksheet values as "Y" and "N" without the use of conditional formatting, macros or functions, you can follow these steps:
  1. Select the cell or range of cells that contain the boolean values you want to format.
  2. Right-click on the selected cells and choose "Format Cells" from the context menu.
  3. In the "Format Cells" dialog box, select the "Custom" category.
  4. In the "Type" field, enter the following custom format:

    Formula:
    [=TRUE]"Y";[=FALSE]"N"
  5. Click "OK" to apply the custom format to the selected cells.

That's it! Now your boolean values will be displayed as "Y" and "N" according to their respective values.
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default custom format for boolean values

Not possible unless you change the function that returns the TRUE or FALSE

Like if you have

=A25

change that to

=--(A25)

then use your custom format

"Y";;"N";




--
Regards,

Peo Sjoblom



"yahee1266" wrote in message
...
I need to display boolean worksheet values not as TRUE or FALSE, but as "Y"
and "N" without the use of conditional formatting, macros or functions; a
custom format.

The custom format:
"Y";;"N";
works if the field value is numeric, but not for boolean expressions or
values.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to paste values created by custom format? oli merge Excel Discussion (Misc queries) 10 March 6th 12 11:23 PM
Custom Cell format to mimic time format [email protected] Excel Discussion (Misc queries) 6 November 7th 06 09:17 PM
how do I add phone number format as a permanent custom format? frustratedagain Excel Discussion (Misc queries) 3 February 4th 06 03:52 AM
Comparing text and returning boolean values nicoleeee Excel Discussion (Misc queries) 9 December 2nd 05 10:43 AM
Anyone know how to format cells as yes/no boolean logic? JethroUK© New Users to Excel 3 July 19th 05 05:41 AM


All times are GMT +1. The time now is 11:17 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"