Fuel and mileage log template for Excel

Fuel and mileage log template for Excel
A fill-up is a purchase and a measurement at the same time. In the minute someone pays, the odometer shows a number that will never come back, and if that number is not written down, the only way to know how a vehicle is performing is to ask the driver. This template turns that minute into a record: one row per fill-up with date, plate, odometer, gallons and amount paid, plus two columns the sheet works out on its own, the kilometres driven since the previous fill-up of the same vehicle and the fuel economy in kilometres per gallon.
The number the workbook returns is not the spend. The spend sits in the value column and needs no template, because the receipt already says it. What the sheet returns is fuel economy: how many kilometres each gallon delivers in one specific vehicle, measured over the distance it actually covered rather than the figure the manufacturer advertises. That number moves before a breakdown appears. An engine that starts drinking more still starts, still runs the route and never lights a warning on the dashboard.
The file is built for small fleets and for single vehicles: three delivery vans, the truck of a hardware store, ten motorcycles at a service company. In all of those cases the workshop schedule says when maintenance is due, but nothing says whether the vehicle is delivering less than it did six months ago. The sheet is meant to be filled in at the pump, receipt in one hand and odometer in sight, because that is the only moment when both figures are exact instead of a reconstruction from memory.
What the sheet calculates and what the number is for
The core calculation is a subtraction and a division. The subtraction takes the odometer reading in the row and removes the reading from the row directly above, but only when that row belongs to the same vehicle; the division then spreads the result across the gallons entered in the row. The first operation answers how many kilometres were covered on that tank; the second, how many of those kilometres each gallon pays for. Both figures sit on the same line as the fill-up, so the economy you read is not a monthly average but the one for a specific stretch of road.
The two numbers drive different decisions. The kilometres verify that the record makes sense: if an urban delivery van shows 1,200 kilometres between one fill-up and the next, either the odometer was copied wrong or the vehicle left its usual route. The economy figure is there to compare a vehicle with itself over time, which is the only fair comparison when load, terrain and driving style are unknown.
That is where the indicator stops, and it is worth saying early: two different vehicles are not compared by kilometres per gallon. A loaded truck and a motorcycle can cover the same route side by side and one can burn three times what the other does, and that is nobody's fault. What is information is the same truck going from 17 to 13 kilometres per gallon in three months without a change of route, load or driver.
Two sheets and seven columns
The workbook has two sheets. "Combustible" is the working sheet: three header lines with the title, one sentence explaining what the file measures and a version line waiting for a date; below that, the table. "Instrucciones" holds no formulas and no data, just four numbered steps restating what goes in each column, why the first row of every vehicle stays blank and how to read the result. It is the sheet someone reads when the file arrives in their inbox, which is why it is written in full sentences rather than loose labels.
The table has seven columns and thirty record rows, from row 5 to row 34. The first four rows carry example data and the last two columns already hold the formula in all thirty rows, so typing a fill-up makes the calculation appear without copying anything down. The header row is shaded and the first three rows are merged across the full width so the title does not break when printed. There is no totals row and no summary block at the foot: the table ends at row 34, and any sum happens outside it, with a filter or on another sheet.
| Column | What you type | How the sheet uses it |
|---|---|---|
| Date | The day of the fill-up, as a date | Reading label; it also decides whether the row is calculated or left empty |
| Plate | The plate or short name of the vehicle | The key to the calculation: if it differs from the row above, there is no subtraction |
| Odometer | What the dashboard reads at the pump, with no separators | Minuend of the subtraction; one extra digit ruins the stretch |
| Gallons | The gallons that went into the tank, with decimals | Divisor of the economy figure; if it is zero, km per gallon stays blank |
| Value | What was paid on that fill-up | Enters no formula: it lets you read spend next to economy |
| Km driven | Not typed: the formula returns it | Odometer in this row minus the odometer of the previous row for the same vehicle |
| Km per gallon | Not typed: the formula returns it | Kilometres driven divided by the gallons in the row |
The column order follows the order of a real fill-up: first the date, then the plate, then what the dashboard says and what the receipt says. The two calculated columns sit at the end, where they do not get in the way while typing and where they are read together, because economy without the distance of that stretch is easy to misread. The amount paid sits between the two and that is no accident: it forces your eye across the spend before reaching the technical indicator.
The two formulas: previous plate and division
The "Km driven" column holds the same formula in every row. It starts by asking whether the date is empty: with no date the row counts as unused and the cell stays blank instead of showing a zero. With a date, it compares the plate in the row with the plate in the row directly above and subtracts the odometers only when the two match; when they do not, it returns empty text, because there is no earlier reading for that vehicle to compare against. On the first example row the formula reads =IF(A5="","",IF(B5=B4,C5-C4,"")).
The "Km per gallon" column is shorter and carries three guards. First it checks that gallons and kilometres both exist; if either is missing, it does not divide. Then it checks that gallons are not zero, because dividing by zero would fill the sheet with errors. Only then does it divide kilometres by gallons: =IF(OR(D5="",F5=""),"",IF(D5=0,"",F5/D5)). That second guard is not a programming nicety; it is a door the file deliberately leaves open, as explained below.
The plate comparison has a consequence worth understanding before the first row is filled. The first fill-up of every vehicle always ends up without kilometres and without economy, because there is no earlier reading to subtract. The way around it, without inventing data, is a starting row with the date of the last known fill-up, the plate, that day's odometer and zero gallons: the gallon guard leaves economy blank, but the next row already finds its previous reading. Skip that row and the first real stretch of every vehicle is lost.
The example the workbook ships with
The four loaded rows carry two vehicles and two fill-ups each, and both of them covered exactly 460 kilometres between one fill-up and the next. Van ABC-123 went from 147,520 to 147,980 on 12.5 gallons; vehicle DEF-456 went from 264,100 to 264,560 on 27.4 gallons. The distance is identical and the fuel is not, and that gap is the whole point of the workbook: the same trip costs 12.5 gallons in one vehicle and 27.4 in the other.
| Date | Plate | Odometer | Gallons | Km driven | Km per gallon |
|---|---|---|---|---|---|
| 04/11/2026 | ABC-123 | 147,520 | 12.5 | blank | blank |
| 11/11/2026 | ABC-123 | 147,980 | 11.8 | 460 | 36.8 |
| 06/11/2026 | DEF-456 | 264,100 | 28 | blank | blank |
| 13/11/2026 | DEF-456 | 264,560 | 27.4 | 460 | 16.8 |
Two things in the example look wrong and both are right. The first row of each plate stays blank even though it holds data, because there is no earlier row for that vehicle; that is the behaviour the formula announces and the reason the starting row exists. And the dates are out of order: two ABC-123 fill-ups first, then two for DEF-456, with 6 November sitting after 11 November. The disorder is deliberate, because the rows of one vehicle have to sit together for the subtraction to find its previous reading.
Reading the example is therefore not reading a fleet average. It is one economy figure per vehicle: 36.8 kilometres per gallon for ABC-123 and 16.8 for DEF-456. Comparing those two numbers with each other says nothing useful, since nobody knows what each vehicle carries or where it drives. What does say something is that each of them is now a baseline: the next fill-up on the same vehicle will be measured against it, and that is where the useful series begins.
How to fill it, in order
The first step is to decide how the plate will be written and never to change it. "ABC-123", "ABC123" and "abc 123" are three different vehicles as far as the formula is concerned, and a single different capital is enough to leave a stretch blank and convince someone the sheet is broken. The second step is to copy the odometer exactly as the dashboard shows it, with no thousands separators and no commas: the sheet needs a number, not text. The third is to take gallons from the receipt with the decimal, not rounded, because half a gallon in a small tank shifts economy by several whole units.
The fourth step is the one almost everyone skips: always fill to the top. The economy the sheet calculates is the odometer difference divided by what went in, and that only holds if the tank ended up as full as last time. A partial ten-gallon fill in a twenty-gallon tank makes the next row look twice as efficient, and the error carries over two rows, not one. If a partial fill happens for any reason, the right move is to leave the row unwritten and wait for a full tank, or write it knowing that stretch cannot be read.
The last step is consistency rather than perfection: a log with one row a week for three months beats an immaculate one abandoned after two weeks. The sheet asks for five figures per row and has no required fields or validations blocking entry. When a figure is missing the calculated cell stays empty and the rest of the table keeps working, which is exactly what you want from a record filled in while standing next to the pump.
Reading the result: one figure per vehicle
Reading the sheet means reading a series, not a cell. A single row says little, because it depends on whether that tank went on the highway or in traffic, loaded or empty, with the air conditioning on or off. What makes sense is looking at the last four or five rows for one vehicle and seeing whether economy holds, rises or falls. A sustained drop of more than ten percent across three consecutive fill-ups is the classic signal of a clogged filter, low tyre pressure or an injection problem, and it shows up weeks before the workshop finds it.
It also reads the other way, and that is the part almost nobody uses: economy jumping suddenly usually means the vehicle is covering less distance than usual, not that it is running better. If the business changed route or lost a customer, the number rises without anyone touching the engine. That is why the kilometres sit in the previous column: without them the ratio has no context and the reading turns into superstition.
Comparing several vehicles has to stay within the same category and the same kind of route, and even then with care. The sheet does not group or average by plate: there is no pivot table and no summary sheet, and that is a decision of the file rather than a gap. Anyone who wants a monthly average filters the table by plate and adds it up outside, or moves the series to another sheet. The workbook delivers the figure per fill-up, which is the one unit that cannot be rebuilt later.
Common mistakes and what the workbook does not solve
The costliest mistake is sorting the table by date. Because the formula compares each row with the one above, any reordering changes the neighbours and the kilometres get recalculated against the wrong vehicle, or emptied. Once sorted, the results stop being true even though the formulas are still there, and nothing warns you. The rule is simple: do not sort the table and do not insert rows in the middle of a vehicle; new fill-ups go at the end, grouped by plate.
The second mistake is the unit. The header says gallons and economy is read in kilometres per gallon; if the receipt is in litres, convert before typing, because the figure the sheet returns will be about three and a half times higher and will look like an improvement. The third is an extra digit in the odometer: one added zero turns a 460-kilometre stretch into 9,460 and pushes economy into impossible values that nobody questions because the number "looks fine".
And there are things the workbook does not do, worth knowing before asking for them. It does not calculate cost per kilometre or consumption per hundred kilometres, it does not compare against a target, it does not warn when economy falls and it does not hold the maintenance plan: it is a fill-up log, not a vehicle history file. Nor does it reconcile a fuel card or catch a duplicated receipt. All of that can be calculated from the table, but it is not in the table, and confusing the two is the fastest way to end up demanding something the file never promised.
Download, cover and final details
The file opens in any spreadsheet application and carries no macros, external links or data connections: two sheets and thirty rows with two short formulas. The version line in the header keeps the date in brackets so whoever receives the file knows when it was last updated, and the instructions sheet can be printed alongside the table without losing anything. The cover that goes with the download sums up in one image what the workbook does: two vehicles, one route and two different economy figures.

The image shows the table open with its seven columns and the example rows, and beside it the contrast that matters: the same 460-kilometre stretch logged twice, once on 12.5 gallons and once on 27.4. Both calculated columns are blank on the first row of each plate, exactly as they appear in the freshly downloaded file, and filled on the second. It is a precise illustration of what the sheet measures: not how much was spent, but how far each gallon goes in each vehicle.
A fuel log kept with discipline does not change the route a vehicle runs or what goes into the tank, but it changes the maintenance conversation: it stops relying on what someone heard at the workshop and rests on a series of numbers anyone can check. Kardex Tauro publishes this template as a reference format for small fleets, with the formulas in plain sight and no protected cells, so the record gets filled at the pump and not when there is no way left to rebuild it.







