Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a worksheet that has a list of medication in column A with their
corrisponding expiration dates in column B. How can I make the dates in column B change to red when the current days date is within 60 days of the expiration date shown? Will it do this? -- Lee Davenport |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Lee,
Use Conditional Formatting http://www.mvps.org/dmcritchie/excel/condfmt.htm Select Column B that would make cell B1 the active cell. The formula you use is based on the active cell. Format, Conditional Formatting Formula is: =$B1+60 < TODAY() press the large formatting button you can change the Font color and/or the interior pattern color By placing a $ in front of the B1 that limits the test to the B column, so you could select all cells on the sheet and use that formula if you wanted to color the entire row as every cell on the row would use that formula to test, and the row would be adjusted on subsequent rows. --- HTH, David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001] My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm "Lee" wrote in message ... I have a worksheet that has a list of medication in column A with their corrisponding expiration dates in column B. How can I make the dates in column B change to red when the current days date is within 60 days of the expiration date shown? Will it do this? -- Lee Davenport |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Changing *permanently* Excel's colors and graph fill for charting? | Charts and Charting in Excel | |||
Automatically changing colors | Excel Discussion (Misc queries) | |||
How do I stop colors from changing the shades in excel | Excel Discussion (Misc queries) | |||
How do i stop the colors changing on my pivot chart when i refres. | Excel Discussion (Misc queries) | |||
Changing colors of tabs | Excel Discussion (Misc queries) |