Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default Make a cell font red if number is greater than 200

Make a cell font red if number is greater than 200 and have a message pop up
saying (you have exceeded the number of hours allowed).
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Make a cell font red if number is greater than 200

How does the cell change?

By the user typing in the new value--or the results of a formula?

If it's by typing, you could use data|Validation (xl2003 menus) and stop the
invalid entry.

If you change it to a warning, then you could use format|conditional formatting
to show the value in red.

If the value changes via a formula (or by typing), you could use
format|Conditional formatting and a helper cell:

=if(a1<=200,"","Error too large")

Format this cell in big bold red letters to make it noticeable.

delete automatically wrote:

Make a cell font red if number is greater than 200 and have a message pop up
saying (you have exceeded the number of hours allowed).


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 364
Default Make a cell font red if number is greater than 200

For first use conditional formatting.

For pop up you can use data validation.

Let me know if you need detailed instructions.

"delete automatically" wrote:

Make a cell font red if number is greater than 200 and have a message pop up
saying (you have exceeded the number of hours allowed).

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Make a cell font red if number is greater than 200

You can use conditional formatting on the cell to make it turn red if
the cell contents exceed 200. Also, you could use another cell to
produce the error message, like this:

=IF(A1200,"Excess Hours","")

Format that cell with bold and in red if you like.

Hope this helps.

Pete



On Oct 6, 3:23*pm, delete automatically
wrote:
Make a cell font red if number is greater than 200 and have a message pop up
saying (you have exceeded the number of hours allowed).


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default Make a cell font red if number is greater than 200

Hi

You can't have both
Either
Place cursor on cell concerned, FormatConditional FormattingCell Value
isGreater Than200FormatFontRedOK
Or
Select cell again, DataValidationAllowWhole
numberBetweenMinimum0Maximum200Error Alerttype in your message

If Data Validation is in place, then the value entered will never be above
200 hence the colour condition will not get triggered.
--
Regards
Roger Govier

"delete automatically" wrote
in message ...
Make a cell font red if number is greater than 200 and have a message pop
up
saying (you have exceeded the number of hours allowed).


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
if font is bold then cell value is number Jon Excel Discussion (Misc queries) 1 September 13th 08 11:50 AM
putting a number that is greater or lesser into different cell . James Krepel Excel Worksheet Functions 1 November 2nd 06 04:02 AM
I want the greater number of 2 cells to show in a separate cell cfiser Excel Discussion (Misc queries) 2 November 16th 05 10:32 PM
I want the greater number of 2 cells to show in a separate cell Ron Coderre Excel Discussion (Misc queries) 1 November 16th 05 09:22 PM
How to make the cell or font color red if the number is negative? Bob T Excel Worksheet Functions 6 August 18th 05 01:28 PM


All times are GMT +1. The time now is 01:46 PM.

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"