Calculation Issues

Create an Excel Fleet Mileage and Service Tracker in WPS Spreadsheet

Kushani NimanthikaKushani Nimanthika Nov 12, 2026 869 views

Question details

The user needs a spreadsheet to track vehicle mileage, calculate upcoming service mileage, and show how many miles remain before each service is due.

Create an Excel Fleet Mileage and Service Tracker in WPS Spreadsheet
Product
WPS Spreadsheet
Device & OS
not provided
Scenario
A fleet manager wants to track multiple vehicles and service types, including oil changes, tire rotations, wiper replacements, battery replacements, and coolant changes, using vehicle-specific service intervals.
Observed behavior
The tracker needs to retrieve the correct service interval for each vehicle and service type, calculate the next service mileage, and subtract current mileage to display the remaining miles.
Before you start

List every vehicle and service type you want to track, then confirm the service interval for each vehicle and service combination. Decide whether the starting mileage for a new vehicle should be its current mileage or its previous service mileage.

Solution 1Recommended

Build a lookup-based fleet mileage and service tracker

Use this method when different vehicles have different service intervals and you want the tracker to update calculations from one reference table.

Create a service interval table with a unique key for each vehicle and service type. In the tracker, retrieve the matching interval, add it to the previous service mileage, and subtract the current mileage to calculate the miles remaining.

1
Create the tracker columns

In a new WPS Spreadsheet sheet, add headers for Vehicle, Service Type, Current Mileage, Last Service Mileage, Service Interval, Next Service Mileage, and Miles Remaining in cells A1:G1.

2
Create the service interval lookup table

In columns J:M, create headers Lookup Key, Vehicle, Service Type, and Interval. In J2, enter =K2&"|"&L2, then fill the formula down for each vehicle and service combination. Enter intervals such as 5000 for an oil change or 60000 for a battery replacement in column M.

3
Retrieve the correct service interval

In E2, enter =IFERROR(VLOOKUP(A2&"|"&B2,$J$2:$M$100,4,FALSE),"") and press Enter. This looks up the interval using the vehicle and service type in A2 and B2.

4
Calculate the next service mileage

In F2, enter =IF(E2="","",D2+E2). This adds the service interval to the last service mileage. For a vehicle that has not had the service before, enter its current mileage in the Last Service Mileage column.

5
Calculate miles remaining

In G2, enter =IF(F2="","",F2-C2), then copy E2:G2 down the tracker. Positive values show miles remaining, while zero or negative values indicate that service is due or overdue.

Make overdue service easy to spot: Select the Miles Remaining column, open Home > Conditional Formatting, and apply a rule that highlights values less than or equal to 0.
WPS Spreadsheet

Track fleet mileage and service schedules with WPS Spreadsheet

WPS Spreadsheet provides the lookup formulas, tables, conditional formatting, and Excel-compatible workbook support needed to build and maintain a fleet mileage and service tracker.

  1. 1. Start a spreadsheet: Open WPS Office, select Spreadsheet, and choose Blank to create the tracker.
  2. 2. Add tracker and lookup tables: Enter the vehicle mileage columns on the first sheet and create the vehicle, service type, and interval lookup table beside or on a second sheet.
  3. 3. Insert the formulas: Use VLOOKUP or SUMIFS for the service interval, then add formulas for Next Service Mileage and Miles Remaining.
  4. 4. Apply maintenance formatting: Select the Miles Remaining column and use Home > Conditional Formatting to highlight values at or below zero.
Use VLOOKUP or SUMIFS to retrieve vehicle-specific service intervals.Calculate next service mileage and remaining miles automatically as mileage changes.Highlight due and overdue maintenance with conditional formatting.Open, edit, and save Microsoft Excel .xlsx and .xls files with compatible formatting.Build a lightweight tracker with familiar spreadsheet tools and reusable formulas.
microsoft office alternative - wps office

Frequently Asked Questions

How should I calculate the next service mileage for each vehicle?

Add the service interval to the vehicle's last service mileage. In the example tracker, use =IF(E2="","",D2+E2) in the Next Service Mileage column, where D2 is Last Service Mileage and E2 is the looked-up interval.

How can one tracker support different service intervals for different vehicles?

Create one row in the lookup table for each vehicle and service type combination. Use a combined key such as Vehicle|Service Type with VLOOKUP, or use SUMIFS with separate Vehicle and Service Type criteria.

What should I enter when a vehicle has never received a specific service?

Enter the vehicle's current mileage in the Last Service Mileage field for that service. The next service mileage will then be calculated from the current mileage plus the service interval.

How do I show whether service is due or overdue?

Subtract Current Mileage from Next Service Mileage with =IF(F2="","",F2-C2). A result of zero means service is due, and a negative result means the vehicle is overdue.

Why does the lookup formula return a blank value?

Check that the vehicle and service type in the tracker exactly match the lookup table, including spaces and spelling. Also confirm that the lookup range includes the interval column and that the combined key formula has been filled down.