Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,670
Default Getting a fill color on a certain date

How can I get a cell to display a fill color on a date -10 days and then
another color on that date.

For example, I'm creating a spreadsheet for bills and 10 days before the due
date I want the cell to fill yellow. And then on the due date, I want the
cell to fill red.

Thanks in advance for the help!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,670
Default Getting a fill color on a certain date

I almost forgot. After I input an amount paid into the cell (meaning I paid
that month's bill) I don't want the fill color program to execute, I just
want it left white.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Getting a fill color on a certain date

Try this...I'm assuming you're using Excel 2003 or an earlier version.

Assume A2 = due date
B2 = either date paid or amt paid

Select the cell you want to format
Goto the menu FormatConditional Formatting
Condition 1 - turn cell RED
Formula Is: =AND(A2<"",B2="",TODAY()=A2)
Click the Format button
Select the Patterns tab
Select a shade of RED
Click OK
Click the Add button
Condition 2 - turn cell YELLOW
Formula Is: =AND(A2<"",B2="",TODAY()=A2-10)
Click the Format button
Select the Patterns tab
Select a shade of YELLOW
OK out

--
Biff
Microsoft Excel MVP


"Eric" wrote in message
...
How can I get a cell to display a fill color on a date -10 days and then
another color on that date.

For example, I'm creating a spreadsheet for bills and 10 days before the
due
date I want the cell to fill yellow. And then on the due date, I want the
cell to fill red.

Thanks in advance for the help!



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
fill color and font color icons do not work in excel huer59 Excel Discussion (Misc queries) 0 November 29th 07 01:06 PM
color fill button is not adding color to my spread sheet mitchnmd Excel Worksheet Functions 1 September 26th 07 04:36 PM
My fill color and font color do not work in Excel Std Edition 2003 chapstick Excel Discussion (Misc queries) 1 September 11th 05 08:48 PM
Excel 2003 will not display color fonts or color fill cells DaveC Excel Worksheet Functions 1 April 11th 05 04:38 PM
My excel 2003 wont let me fill cells with color or color the tabs. trizog New Users to Excel 2 February 22nd 05 06:43 PM


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