Subtract fuel usage reading from previous entry

Hi,

i have this sheet where i record Fuel usage reading from my generator daily.

i wish to subtract todays reading from yesterday reading to get my usage

what formula can i use?

Assming its one table and there is only one generator then you’re simply asking for data from the previous row:

[Fuel Useage]
-
ANY(Select(TableName[Fuel Useage],[_Rownumber]=[_ThisRow].[_Rownumber]-1))

Simon, 1minManager.com

1 Like

([this row]. [Fuel Reading] - LOOKUP(([this row].[Date]-1), “YourTableName”, “Date”, “Fuel Reading”))

Replace your column names accordingly

works like a charm.. thanks for the swift response.

1 Like