C
Crimbo
I have a table with two columns whcih have these headings:
1) Refuel Amount (in litres)
2) Refuel Mileage (in km)
For each journey a vehicle makes, the Start and Finish mileage of the
vehcile is logged. When the vehicle requires refuelling, the amount of fuel
in litres is entered, as is the vehcicles mileage at the point of refuel.
Using a query i am trying to calculate the fuel economy of each vehicle.
Hence i need to calculate the distance that each vehicle travelled on the
amount of fuel. To do this i need to use the mileage reading at refueling,
and the previous mileage at refueling. If i subtract the higher value from
the smaller, i will get the distance travelled for the amount of fuel put in.
How do i reference two pieces of information in the formula. I can reference
the mileage at the current refueling relatively easily, but referencing the
mileage at the previous refueling is causing me a few headaches.
Can anybody help.
Thank you
Crimbo
1) Refuel Amount (in litres)
2) Refuel Mileage (in km)
For each journey a vehicle makes, the Start and Finish mileage of the
vehcile is logged. When the vehicle requires refuelling, the amount of fuel
in litres is entered, as is the vehcicles mileage at the point of refuel.
Using a query i am trying to calculate the fuel economy of each vehicle.
Hence i need to calculate the distance that each vehicle travelled on the
amount of fuel. To do this i need to use the mileage reading at refueling,
and the previous mileage at refueling. If i subtract the higher value from
the smaller, i will get the distance travelled for the amount of fuel put in.
How do i reference two pieces of information in the formula. I can reference
the mileage at the current refueling relatively easily, but referencing the
mileage at the previous refueling is causing me a few headaches.
Can anybody help.
Thank you
Crimbo