Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default changing cell background colors with formulas

Can someone help me to write a formula to change cell background colors based
on a date.
I have created a training spreadsheet to inform me when individuals are due
for training. At my last job, I created the same spreadsheet but now I cannot
remember the formulas I used.
The cells would remain green if training was in toloerance, turn yellow when
training due date was 30 days out and turn red when the due date passed.
I used a nested if function for the dates but can't remember how to change
the colors.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,805
Default changing cell background colors with formulas

Select the range you want to highlight
Use conditional formatting with
FORMULA IS option
Use formula like
($A1-Today)30

"postal vet" wrote:

Can someone help me to write a formula to change cell background colors based
on a date.
I have created a training spreadsheet to inform me when individuals are due
for training. At my last job, I created the same spreadsheet but now I cannot
remember the formulas I used.
The cells would remain green if training was in toloerance, turn yellow when
training due date was 30 days out and turn red when the due date passed.
I used a nested if function for the dates but can't remember how to change
the colors.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default changing cell background colors with formulas

Hi,

If you will, just a small correction there

($A1-Today())30

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Sheeloo" <="to" & CHAR(95) & "sheeloo" & CHAR(64) & "hotmail.com" wrote in
message ...
Select the range you want to highlight
Use conditional formatting with
FORMULA IS option
Use formula like
($A1-Today)30

"postal vet" wrote:

Can someone help me to write a formula to change cell background colors
based
on a date.
I have created a training spreadsheet to inform me when individuals are
due
for training. At my last job, I created the same spreadsheet but now I
cannot
remember the formulas I used.
The cells would remain green if training was in toloerance, turn yellow
when
training due date was 30 days out and turn red when the due date passed.
I used a nested if function for the dates but can't remember how to
change
the colors.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,805
Default changing cell background colors with formulas

Thanks Ashish...

"Ashish Mathur" wrote:

Hi,

If you will, just a small correction there

($A1-Today())30

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Sheeloo" <="to" & CHAR(95) & "sheeloo" & CHAR(64) & "hotmail.com" wrote in
message ...
Select the range you want to highlight
Use conditional formatting with
FORMULA IS option
Use formula like
($A1-Today)30

"postal vet" wrote:

Can someone help me to write a formula to change cell background colors
based
on a date.
I have created a training spreadsheet to inform me when individuals are
due
for training. At my last job, I created the same spreadsheet but now I
cannot
remember the formulas I used.
The cells would remain green if training was in toloerance, turn yellow
when
training due date was 30 days out and turn red when the due date passed.
I used a nested if function for the dates but can't remember how to
change
the colors.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default changing cell background colors with formulas

This does not work. Besides, using the conditional formatting only allows me
to use one color. I am trying to use three colors: green, yellow and red.

"Sheeloo" wrote:

Thanks Ashish...

"Ashish Mathur" wrote:

Hi,

If you will, just a small correction there

($A1-Today())30

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Sheeloo" <="to" & CHAR(95) & "sheeloo" & CHAR(64) & "hotmail.com" wrote in
message ...
Select the range you want to highlight
Use conditional formatting with
FORMULA IS option
Use formula like
($A1-Today)30

"postal vet" wrote:

Can someone help me to write a formula to change cell background colors
based
on a date.
I have created a training spreadsheet to inform me when individuals are
due
for training. At my last job, I created the same spreadsheet but now I
cannot
remember the formulas I used.
The cells would remain green if training was in toloerance, turn yellow
when
training due date was 30 days out and turn red when the due date passed.
I used a nested if function for the dates but can't remember how to
change
the colors.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,805
Default changing cell background colors with formulas


You can have upto three conditions and hence three colors.

What condition are your using?

"postal vet" wrote:

This does not work. Besides, using the conditional formatting only allows me
to use one color. I am trying to use three colors: green, yellow and red.

"Sheeloo" wrote:

Thanks Ashish...

"Ashish Mathur" wrote:

Hi,

If you will, just a small correction there

($A1-Today())30

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Sheeloo" <="to" & CHAR(95) & "sheeloo" & CHAR(64) & "hotmail.com" wrote in
message ...
Select the range you want to highlight
Use conditional formatting with
FORMULA IS option
Use formula like
($A1-Today)30

"postal vet" wrote:

Can someone help me to write a formula to change cell background colors
based
on a date.
I have created a training spreadsheet to inform me when individuals are
due
for training. At my last job, I created the same spreadsheet but now I
cannot
remember the formulas I used.
The cells would remain green if training was in toloerance, turn yellow
when
training due date was 30 days out and turn red when the due date passed.
I used a nested if function for the dates but can't remember how to
change
the colors.

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
Pull individual cell background colors from workbook to wrkbk sunshine[_2_] Excel Discussion (Misc queries) 0 September 25th 07 06:38 PM
Lost highlighting and font colors; background colors on web pages Jan in Raleigh Excel Discussion (Misc queries) 2 July 31st 07 09:10 PM
changing cell background color okelbes Excel Worksheet Functions 1 September 20th 06 03:28 PM
Changing background color based on different cell djarcadian Excel Discussion (Misc queries) 3 August 10th 06 10:44 PM
Excel Cell Background Colors Disappeared JerryI Excel Discussion (Misc queries) 6 March 24th 05 10:05 PM


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