Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Still learning
 
Posts: n/a
Default What is the macro to change background based on numeric cell value

I want that a cell background color will change upon calculating a value.

That is to say, if the calculated value is greater than 1.2, then the
background color of that cell will change to red. Conversely, if the
calculated value is less than 4.0, then the background color of that cell
will change to yellow.

The colors which I want to utilize are red, green and yellow.

Thank you in advance for your assistance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Marcelo
 
Posts: n/a
Default What is the macro to change background based on numeric cell value

Hi why do not use a conditional format?

HTH
regards from Brazil
Marcelo

"Still learning" escreveu:

I want that a cell background color will change upon calculating a value.

That is to say, if the calculated value is greater than 1.2, then the
background color of that cell will change to red. Conversely, if the
calculated value is less than 4.0, then the background color of that cell
will change to yellow.

The colors which I want to utilize are red, green and yellow.

Thank you in advance for your assistance.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ken Hudson
 
Posts: n/a
Default What is the macro to change background based on numeric cell value

Hi,

Go to Format Conditional Formatting... and set your formats for the first
case.
Then click on the Add button and set the conditions for the next and again
for the third case.
--
Ken Hudson


"Still learning" wrote:

I want that a cell background color will change upon calculating a value.

That is to say, if the calculated value is greater than 1.2, then the
background color of that cell will change to red. Conversely, if the
calculated value is less than 4.0, then the background color of that cell
will change to yellow.

The colors which I want to utilize are red, green and yellow.

Thank you in advance for your assistance.

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 background row color with change of date in a cell Urszula Excel Discussion (Misc queries) 5 May 17th 06 07:56 AM
Row Expansion Susan Excel Worksheet Functions 11 February 28th 06 07:15 PM
Conditional cell background formatting, based on cell content nosivad Excel Discussion (Misc queries) 5 February 11th 06 11:12 PM
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
Cell Change Color - Need Help alani New Users to Excel 3 June 29th 05 03:50 PM


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