Calculate Overdue Service Status

Andrew Watson

New Member
Joined
Feb 3, 2016
Messages
13
Office Version
  1. 365
Platform
  1. Windows
Hi everyone,

I have a spreadsheet that is exported from another program for the servicing of our fleet of vehicles and equipment. My partner has currently being using conditional formatting to show which items are overdue by a coloured cell based upon a set range of values. This doesn't work well as the exported data cell shows kms and hrs overdue. I have an IF formula to determine what is serviced by hrs, kms or monthly. What I need to do though is have a formula that can sniff out that an asset that is 20 days overdue for a service by giving that cell an orange colour but a vehicle that is 20kms overdue for a service is still treated as a green colour until it reaches 500kms then it moves to an orange colour. I've made a table below to give you an example of what I'm trying achieve.

Please note that I'm from Australia and all dates are dd/mm/yyyy

Data below is copied from exported spreadsheet. Next service type refers to either 3 (3 monthly) or the hourly or km service type required eg. 250 or 500 etc (for hr service items) and 1000, 5000 etc (for km service items)



FGHIJKLMNPQR
Last Service DateLast Service TypeLast Service ReadingNext Service DueNext Service TypeLast Meter ReadingLast Reading DateHrs/Kms until dueDays until due3 Mnth Service DateReading TypeService Status
10/10/20153310/01/20166105/02/2016N/A-2610/01/2016MTHUnacceptable
22/10/20155000919389000050009610505/02/2016-1105N/A22/01/2016KMUnacceptable
05/11/2015100013086132502501343327/00/2016-183N/A05/02/2016KMAcceptable
12/6/2015100010291250500200105/02/2016-751N/A19/09/2015HRUnacceptable
10/02/2016500095105100000100009789612/02/20162104N/A10/05/2016KMGood

<tbody>
</tbody>


As you can see there is a fair amount of different data for this calculation to sort through and determine what is overdue and by how much. I am looking for a formula that can show results as per column R in the above data. All other data is pre-populated with the exception of column Q of which I have a calculation linked to on another tab.

Any help is very much appreciated as I've been going over this for days now. I had an INDEX and a MATCH calculation but with my limited calculation knowledge I could only get it to search for the HR items only and not the KM or MTH items.

Thanks

Andrew
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
you can use AND() or OR() in a conditional formatting

So AND( Days Cell >20 , Km cell > 500 , Q = "hrs" )
AND (Hrs/Kms until due > 200 , Q = "Mth" )
 
Upvote 0

Forum statistics

Threads
1,214,544
Messages
6,120,126
Members
448,947
Latest member
test111

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