#1   Report Post  
Posted to microsoft.public.excel.misc
Rich Stanek
 
Posts: n/a
Default Formating of Cells

I want to format a cell so that if someone puts more then 15 characters in
the cell the cell will turn red. Any help would be appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default Formating of Cells

=LEN(A1)15

format conditional formatting, formula is

you could also use data validation allow text length less than or equal to
15

that way they cannot enter anything longer as long as they type


--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com


"Rich Stanek" wrote in message
...
I want to format a cell so that if someone puts more then 15 characters in
the cell the cell will turn red. Any help would be appreciated.



  #3   Report Post  
Posted to microsoft.public.excel.misc
Delordson Kallon
 
Posts: n/a
Default Formating of Cells

You need conditional formatting.

Select the cell (let assume D4), then from the menu, select Format, then
Conditional formatting. In the conditional formatting dialogbox, select
"formula is" from the dropdown box and type =LEN($D$4)15 in the textbox.
This applies the condition. Now you need to select the formatting that will
be applied whenever the condition is true. Click on the format button on the
conditional formatting dialogbox then go to the pattern tab and select red.

Now whenever the length of text entered into D4 is more than 15, the cell
colour will change to red.

Delordson Kallon
http://www.instantsoftwaretraining.com/Default.aspx

"Rich Stanek" wrote:

I want to format a cell so that if someone puts more then 15 characters in
the cell the cell will turn red. Any help would be appreciated.

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
Formating Worksheet Cells Kjacob54 Excel Discussion (Misc queries) 0 August 25th 05 03:21 PM
Formating Cells tkern Excel Discussion (Misc queries) 1 August 17th 05 11:01 PM
Formating text in cells Mark J. Worden Excel Discussion (Misc queries) 3 June 9th 05 10:21 PM
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM


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