Gradient Color based on todays date

BoredSean

New Member
Joined
Jun 5, 2024
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hello, I am sorry I am having to ask such a simple question for experts on this board, but I have tried google and I am clueless. I have one column. In that column are dates that personnel qualified. It expires after one year. I just want to put the dates in and see the color change from something like green (completed qualification recently) to red (expired or close to) If this is impossible, what would be the next closest solution? Thank you in advance for the help.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Something like this?
Book1
A
1Date qualified
21/1/23
31/1/24
46/23/24
512/8/22
Sheet6
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:A7Expression=AND(TODAY()<=EDATE(A2,12),A2<>"")textNO
A2:A7Expression=AND(TODAY()>EDATE(A2,12),A2<>"")textYES
 
Upvote 0
Yes, but is it possible to do it with gradient colors instead of 2 tone? If not I ca nmake due.
 
Upvote 0
What would the gradient colours be? There are potentially 365 days.
 
Upvote 0
I know excel had a CF that includes gradient colors, changing from one color to the next, but its options for the formatting don't seem to fit this. For example it might start green, slowly start to move towards something brighter like yellow or orange and then eventually go deeper into red. I guess the gradient is something the computer does. Thank you for your help and contribution.
 
Upvote 0
Perhaps this. Negative numbers indicate a passed expiration date.
Book1
ABC
1Date qualifiedExpiration DateDays until Expiration Date
21/1/231/1/24-156
31/1/241/1/25210
46/23/246/23/25383
512/8/2212/8/23-180
Sheet6
Cell Formulas
RangeFormula
B2:B5B2=EDATE(A2,12)
C2:C5C2=B2-TODAY()
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C2:C5Other TypeColor scaleNO
 
Upvote 0
No problem. I would cap at 0 like this.
Book1
ABC
1Date qualifiedExpiration DateDays until Expiration Date
21/1/231/1/240
31/1/241/1/25210
46/25/236/25/2420
512/8/2212/8/230
Sheet6
Cell Formulas
RangeFormula
B2:B5B2=EDATE(A2,12)
C2:C5C2=MAX(0,B2-TODAY())
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C2:C5Other TypeColor scaleNO
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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