Change row color based on a date in one cell

capncaveman

New Member
Joined
Jan 6, 2010
Messages
7
What I would like to do is have a spreadsheet with our online orders and keep track of when the orders go beyond a certain date.

For instance. I have all the order information on one row. One of these cells will be an order date. I would like to have that whole row green within one week of the order date and then turn yellow from 1 week to 2 weeks and turn red beyond 2 weeks from the order date. The order dates will always be different so the formula will have to go off of the order date...not the current date.

I would also like to have a cell with a check box or a cell where I can enter "Shipped" and it will then turn the row back to white.

Is this possible? I am using Excel 2007

Any help would be appreciated!!
 
Hello Glenn,


I do think Conditional Formating would be much easier and even more appropriate.

I overlooked that and made things a bit more complicated.
I checked the spark plug before I checked the fuel... :oops:

I did rather enjoy writting the code though. :)

-Jeff
 
Upvote 0

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,224,599
Messages
6,179,831
Members
452,946
Latest member
JoseDavid

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top