Fuel level consumed

Hi Jani,

I am trying to catch fuel consumption. I want to make the followings:
If ignition ON > Hold Fuel level Value ( in a register ) > make equation inside the gauge = (Use above value - fuel level)÷ Trip B.

Can you help please?

I am not able use calculated value to get the fuel consumption, this is the reason behind my request.