Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Change cell color based on value in cell

I have a table with avrious values 1 -100. I'd like to highlight the cells
with values from 75-100 in green, 50-75 in blue, 25-50 in purple and 0 - 25
in red. How would I do this without sorting the tables?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 396
Default Change cell color based on value in cell

Hi

Use conditional formatting. A very recent example was put he
http://www.microsoft.com/communities...r=US&sloc=&p=1


--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"finomad" wrote:

I have a table with avrious values 1 -100. I'd like to highlight the cells
with values from 75-100 in green, 50-75 in blue, 25-50 in purple and 0 - 25
in red. How would I do this without sorting the tables?

  #3   Report Post  
Posted to microsoft.public.excel.misc
M-A M-A is offline
external usenet poster
 
Posts: 17
Default Change cell color based on value in cell

Finomad
One other suggestion for you from personal experience:

Reading your list you have said that 0-25 is red and 25-50 is purple etc.

What colour should 25 be?

'Proper' answer
- When you do your conditional formatting you will have to choose either
0-25, 26-50, etc OR 0-24, 25-49 etc (or some other combination that wsuits
you).
- You should consider how many decimal places your data can have. Are you
really saying 0-24.999999999999999 (or 0-25 and 25.000000000000000000001 - 50)
- As you have 4 colours then one will be default. Excel will then process
the others in order. If you set up the rules in the correct order then you
could have 0-25 and 25-50, but you would still have to think carefully and
put them in in the right order.

I'd recommend doing a very quick test spreadsheet for yourself where you
enter some numbers (say 0, 10, 25, 40, 50, 50.5, 60, 75, 90, 100, 100.5, 102,
-26) and then enter your conditional formatting and see what works

M-A

"Wigi" wrote:

Hi

Use conditional formatting. A very recent example was put he
http://www.microsoft.com/communities...r=US&sloc=&p=1


--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"finomad" wrote:

I have a table with avrious values 1 -100. I'd like to highlight the cells
with values from 75-100 in green, 50-75 in blue, 25-50 in purple and 0 - 25
in red. How would I do this without sorting the tables?

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
Change tab color based on current color of a cell MarkT Excel Discussion (Misc queries) 0 May 22nd 08 05:46 PM
Change the color of a cell based upon whats in the cell Maneuver Excel Discussion (Misc queries) 1 April 4th 08 09:38 PM
Excel: Syntax to change cell color based on color of another cell davew18 Excel Worksheet Functions 1 January 4th 07 01:24 PM
How do I change cell color based upon data range within the cell? Chris Sanders Excel Worksheet Functions 1 March 6th 06 08:59 PM
change cell color based on cell value [email protected] Excel Worksheet Functions 3 February 8th 06 07:02 AM


All times are GMT +1. The time now is 12:14 AM.

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"