Formula help needed

Hi guys I need help writing a formula. I'm trying to write a formula in which it calculates the fuel consumption for each truck for that specific date.

What I was trying to say with the formula is that it should look at which truck, date and shift it is today, and then find the same truck and collect the odometer reading that.

So you get the trucks odometer from today minus the odometer reading the same truck filled up the previous time) / the amount of litres from to day.

Sheet

http://app.smartsheet.com/sheets/V8FgF9WM26prxFM4R66RHxcvP62HFJ2RpGVQX7W1

Log in to view this sheet.

Comments

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!