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


Hello,

I am putting a simple equation into a cell to return a result in the
cell. Is there anyway to make the cell color turn a color ("green")
when a specific value is calculated?

For example, the calcuation is doing a percent calcuation. I want the
cell color to be green if the percentage is greater than 50% and red in
color when the percentage value is below 50%...Any advice??

This is the calculation that I have in the cell: =(C4-D4)/((C4+D4)/2)

Thanks in advance for any advice...

Mike


--
mkalavitz
------------------------------------------------------------------------
mkalavitz's Profile: http://www.excelforum.com/member.php...fo&userid=8028
View this thread: http://www.excelforum.com/showthread...hreadid=401188

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
Can you change the color of one cell based on the color of another andoscott Excel Discussion (Misc queries) 4 May 4th 07 04:02 PM
Excel: Syntax to change cell color based on color of another cell davew18 Excel Worksheet Functions 1 January 4th 07 01:24 PM
Browse Forms Controls and change TextBox color based on cell color StefanW Excel Programming 2 November 21st 04 07:06 PM
Q: How to change tab color based on cell value John[_60_] Excel Programming 1 February 22nd 04 10:58 AM


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