Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
dan dan is offline
external usenet poster
 
Posts: 866
Default Conditional Formatting - Excel 2003

Is there a way to use conditional formatting on a text field with leading
zeros?
For example, I have a department number of 00123 and would like to highlight
all instances of this number. When entering directly in to the dialog box,
the zeros are dropped.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Art Art is offline
external usenet poster
 
Posts: 587
Default Conditional Formatting - Excel 2003

Either write a ' before the zero's or better yet go to format cell, and go to
the bottom left where it says custom and write in by type this: 00####, and
press Ok, set this format to all cells. This should solve the problem. Let me
know if you need more help.


"Dan" wrote:

Is there a way to use conditional formatting on a text field with leading
zeros?
For example, I have a department number of 00123 and would like to highlight
all instances of this number. When entering directly in to the dialog box,
the zeros are dropped.

  #3   Report Post  
Posted to microsoft.public.excel.misc
Art Art is offline
external usenet poster
 
Posts: 587
Default Conditional Formatting - Excel 2003

Just realized that the second way I wrote before is not correct. The best way
is to set it to text format, or write ' before the first number.

"Dan" wrote:

Is there a way to use conditional formatting on a text field with leading
zeros?
For example, I have a department number of 00123 and would like to highlight
all instances of this number. When entering directly in to the dialog box,
the zeros are dropped.

  #4   Report Post  
Posted to microsoft.public.excel.misc
Art Art is offline
external usenet poster
 
Posts: 587
Default Conditional Formatting - Excel 2003

If you want to use the custom format, then do the following:
In the Type box, type a zero for each digit in the number. For example, if
the number has five digits, type five zeros.

"Dan" wrote:

Is there a way to use conditional formatting on a text field with leading
zeros?
For example, I have a department number of 00123 and would like to highlight
all instances of this number. When entering directly in to the dialog box,
the zeros are dropped.

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
Conditional Formatting for Excel 2003 Lee Excel Discussion (Misc queries) 3 May 31st 08 01:29 AM
Conditional formatting excel 2003 [email protected] Excel Worksheet Functions 1 April 14th 08 11:43 AM
Excel 2003: Conditional Formatting with Subtotals oceanmist Excel Discussion (Misc queries) 1 November 27th 07 09:47 PM
Conditional Formatting: Excel 2003 vs. 2007 JP Excel Worksheet Functions 3 January 13th 07 11:33 PM
Excel 2003: Conditional Formatting oceanmist Excel Discussion (Misc queries) 3 September 20th 06 10:55 PM


All times are GMT +1. The time now is 08:12 PM.

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

About Us

"It's about Microsoft Excel"