G
Guest
Dear Experts,
I would like my users to be able to input a date in a cell, then Excel
automatically calculates the elapsed duration in days from the inputted date
to today's date, and changes the color of the cell to one of four colors,
based on the 3 user-specified durations that correspond to the three colors.
So if the user-specified durations are 10 days (if duration d =< 10, cell
color = red), 20 (if 10< d =<20, cell color = orange), and 30 (if 20< d =<30,
cell color = yellow, and if d>30 cell color = green), the cell color will
automatically change based on today's date. Ideally, the user-specified
thresholds can be different for each cell, or at least for each column.
Can this be done with conditional formatting or is code required? I'm new
at both so any help would be greatly appreciated!
Thank you, RRP333
I would like my users to be able to input a date in a cell, then Excel
automatically calculates the elapsed duration in days from the inputted date
to today's date, and changes the color of the cell to one of four colors,
based on the 3 user-specified durations that correspond to the three colors.
So if the user-specified durations are 10 days (if duration d =< 10, cell
color = red), 20 (if 10< d =<20, cell color = orange), and 30 (if 20< d =<30,
cell color = yellow, and if d>30 cell color = green), the cell color will
automatically change based on today's date. Ideally, the user-specified
thresholds can be different for each cell, or at least for each column.
Can this be done with conditional formatting or is code required? I'm new
at both so any help would be greatly appreciated!
Thank you, RRP333