Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default Conditional Number Formatting

I'd like to use a conditional custom number format where the font turns red
if the cell contains the text "Void". I tried something like:

0;(0);0;[Red][="Void"]

but it returns an error message. I know I can use conditional formatting but
I'd rather use the custom number formatting if possible.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default Conditional Number Formatting

You can't "program" a cell format to look for a particular word, but if the
ONLY non-number that your cell can contain is the word Void, then you could
do use this Custom Format...

0;(0);0;[Red]"Void"

Note that no matter what NON-number is typed into the cell, it will display
as Void in red (so if you type, for example, BAD in the cell, the cell would
show Void in red).

--
Rick (MVP - Excel)


"John" wrote in message
...
I'd like to use a conditional custom number format where the font turns
red if the cell contains the text "Void". I tried something like:

0;(0);0;[Red][="Void"]

but it returns an error message. I know I can use conditional formatting
but I'd rather use the custom number formatting if possible.


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
whole number conditional formatting danlinksman Excel Worksheet Functions 9 April 24th 07 12:50 AM
Conditional Number Formatting espresso Excel Worksheet Functions 0 November 16th 06 08:00 PM
Whole Number Conditional Formatting Kelly Excel Discussion (Misc queries) 3 March 30th 06 01:14 PM
Conditional Number formatting? Scott Dawson Excel Discussion (Misc queries) 5 December 20th 05 12:46 AM
odd and even number conditional formatting vishu Excel Discussion (Misc queries) 3 October 18th 05 09:00 AM


All times are GMT +1. The time now is 08:33 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"