Forum Discussion

KatherineW1988's avatar
KatherineW1988
Copper Contributor
Jan 20, 2023

Excel Miles driven using odemeter reading

I'm trying to set up a spreadsheet to track the miles driven and the average miles per gallon. I am not sure what formula to use to calculate the miles driven using the odometer readings. 

The readings are

588285917659478596846000660371 

which should equal 1,543 miles driven but I'm getting -357543. I was told to use =SUM(-B7:V7)

I would love some help on this

  • KatherineW1988 

    If the first odometer reading is in B1 and the last one in V1, the number of miles driven is

    =V1-B1

    More generally, if the last reading isn't necessarily in V1, you can use

    =MAX(1:1)-B1

Resources