Hi, I'm a first timer out of dark Africa
I'm trying to track fuel usage for a small fleet.
My issue is how to calculate the distance traveled between dates on a specific vehicle.
Any help would be much appreciated.
[TABLE="class: grid, width: 427"]
<colgroup><col span="2"><col><col><col><col></colgroup><tbody>[TR]
[TD="align: center"]Vehicle ID[/TD]
[TD="align: center"]Date [/TD]
[TD="align: center"]ODO Meter[/TD]
[TD="align: center"]Distance km[/TD]
[TD="align: center"]Liters - Depot[/TD]
[TD="align: center"]Result[/TD]
[/TR]
[TR]
[TD="align: center"]Truck1[/TD]
[TD="align: center"]2018/10/01[/TD]
[TD="align: center"]14500[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]171[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
[TR]
[TD="align: center"]Truck3[/TD]
[TD="align: center"]2018/10/01[/TD]
[TD="align: center"]32410[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]164[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
[TR]
[TD="align: center"]Truck2[/TD]
[TD="align: center"]2018/10/02[/TD]
[TD="align: center"]20350[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]333[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
[TR]
[TD="align: center"]Truck2[/TD]
[TD="align: center"]2018/10/13[/TD]
[TD="align: center"]20740[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]160[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
[TR]
[TD="align: center"]Truck1[/TD]
[TD="align: center"]2018/10/15[/TD]
[TD="align: center"]14800[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]143[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
[TR]
[TD="align: center"]Truck3[/TD]
[TD="align: center"]2018/10/19[/TD]
[TD="align: center"]32890[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]178[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
[TR]
[TD="align: center"]Truck3[/TD]
[TD="align: center"]2018/10/19[/TD]
[TD="align: center"]33450[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]243[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
[TR]
[TD="align: center"]Truck1[/TD]
[TD="align: center"]2018/10/21[/TD]
[TD="align: center"]15550[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]385[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
[TR]
[TD="align: center"]Truck2[/TD]
[TD="align: center"]2018/10/22[/TD]
[TD="align: center"]21570[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]370[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
[TR]
[TD="align: center"]Truck1[/TD]
[TD="align: center"]2018/10/25[/TD]
[TD="align: center"]15940[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]176[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
[TR]
[TD="align: center"]Truck3[/TD]
[TD="align: center"]2018/10/26[/TD]
[TD="align: center"]33980[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]226[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
[TR]
[TD="align: center"]Truck2[/TD]
[TD="align: center"]2018/10/27[/TD]
[TD="align: center"]21980[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]185[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to track fuel usage for a small fleet.
My issue is how to calculate the distance traveled between dates on a specific vehicle.
Any help would be much appreciated.
[TABLE="class: grid, width: 427"]
<colgroup><col span="2"><col><col><col><col></colgroup><tbody>[TR]
[TD="align: center"]Vehicle ID[/TD]
[TD="align: center"]Date [/TD]
[TD="align: center"]ODO Meter[/TD]
[TD="align: center"]Distance km[/TD]
[TD="align: center"]Liters - Depot[/TD]
[TD="align: center"]Result[/TD]
[/TR]
[TR]
[TD="align: center"]Truck1[/TD]
[TD="align: center"]2018/10/01[/TD]
[TD="align: center"]14500[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]171[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
[TR]
[TD="align: center"]Truck3[/TD]
[TD="align: center"]2018/10/01[/TD]
[TD="align: center"]32410[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]164[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
[TR]
[TD="align: center"]Truck2[/TD]
[TD="align: center"]2018/10/02[/TD]
[TD="align: center"]20350[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]333[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
[TR]
[TD="align: center"]Truck2[/TD]
[TD="align: center"]2018/10/13[/TD]
[TD="align: center"]20740[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]160[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
[TR]
[TD="align: center"]Truck1[/TD]
[TD="align: center"]2018/10/15[/TD]
[TD="align: center"]14800[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]143[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
[TR]
[TD="align: center"]Truck3[/TD]
[TD="align: center"]2018/10/19[/TD]
[TD="align: center"]32890[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]178[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
[TR]
[TD="align: center"]Truck3[/TD]
[TD="align: center"]2018/10/19[/TD]
[TD="align: center"]33450[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]243[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
[TR]
[TD="align: center"]Truck1[/TD]
[TD="align: center"]2018/10/21[/TD]
[TD="align: center"]15550[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]385[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
[TR]
[TD="align: center"]Truck2[/TD]
[TD="align: center"]2018/10/22[/TD]
[TD="align: center"]21570[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]370[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
[TR]
[TD="align: center"]Truck1[/TD]
[TD="align: center"]2018/10/25[/TD]
[TD="align: center"]15940[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]176[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
[TR]
[TD="align: center"]Truck3[/TD]
[TD="align: center"]2018/10/26[/TD]
[TD="align: center"]33980[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]226[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
[TR]
[TD="align: center"]Truck2[/TD]
[TD="align: center"]2018/10/27[/TD]
[TD="align: center"]21980[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]185[/TD]
[TD="align: center"]0,00[/TD]
[/TR]
</tbody>[/TABLE]