Help Required for Mileage expenses

Col G= Total Mileage formula =if(i29="","",i29-h29)
Col H= Opening Meter Reading
Col I= Closing Meter Reading

Col J = Business Mileage
Col k= Private MIleage


The employee have fuel cards and some cards use petrol or diesel, and we need to deduct private mileage from their expenses.

Many thanks
B