Date and Mileage alerts

NoelD

New Member
Joined
Apr 16, 2015
Messages
33
Office Version
  1. 2019
Platform
  1. Windows
Hi All

I am seeking help in creating some additional conditional formatting on the attached spreadsheet.

I have an "ALERT" traffic light "RED" when the current mileage exceeds the Scheduled Mileage. It is "AMBER" if with 1500 km and GREEN when outside this.

I would like to incorporate the Scheduled Date versus TOday into the RED alert; an AMBER alert when it's 30 days away from the Schedule date and GREEN outside of these dates.

Is this possible in the one ALERT column
Garda.jpg


Regards

Noel

 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
You should be able to do it by combining the formulas in columns F and G.
Quite how you would need to combine them, or if any changes are needed would depend on the formulas that you're using.
 
Upvote 0
Column F is Conditional Formatting


and
1589828220837.png


and Col G has this formula

=IF($G$1>[@[Auto Calculated
Next Service Date]],"RED",IF($G$1-$I$1<[@[Auto Calculated
Next Service Date]],"AMBER","GREEN"))

I am at a loss as to how to combine or if there is a better formula to use for the task
 
Upvote 0
Column F will have a formula as well, changing it to this should work

=MIN(IF($G$1>[@[Auto Calculated Next Service Date]],1,IF($G$1-$I$1<[@[Auto Calculated Next Service Date]],1,3)),
IF([@[Current Mileage]]>[@[Auto Calculated Next Service Due]],1,IF([@[Current Mileage]]+1500<[@[Auto Calculated Next Service Due]],1,3)))

Conditionally format as >=3, green. >=2 amber, <2, red.
 
Upvote 0
Thanks for looking into this formula. I entered it on my spreadsheet but this is the error I am getting
Garda V2.jpg
 
Upvote 0
They all look correct, I've based the formula on the table heading names. I can't do any more without the original formula from F3.
 
Upvote 0

Forum statistics

Threads
1,214,648
Messages
6,120,725
Members
448,987
Latest member
marion_davis

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