mileage calc

Trevor3007

Well-known Member
Joined
Jan 26, 2017
Messages
667
Office Version
  1. 365
Platform
  1. Windows
Hi,

Have tried & tried to sort this myself, but cannot & hoping Mr excel can provide the answer?

I am tryin to create a expenses calculation for mileage . But its not stright forward ( well for me that is).

For example, the total milage from start post code to end post code = 205miles.

I have to knock off the 1st 30 miles =175
The company allows 0.40 between 1 - 75miles = 75 x 0.40=£30
The comapny allows 0.20 for anything over 75 miles = 100 x 0.20 =£20

My issues are:-
I need to have something that when the total mileage meets the above , but also when the total mileage does not
For example, the total milage from start post code to end post code = 50 miles,

knock off the 1st 30 miles =20
The company allows 0.40 between 1 - 75miles =20 x 0.40 = £8

Also, as I will doing multi rows, if A2 ,a3, a4 etc is blank, than all the retrospective cells in that applicable row will be blank too ( just to keep things tidy)

I have treid to do this all on one row , so all I have to do is enter the total milage from start post code to end post code in A2..

Hoping this makes sense & thank you for helping me & taking up my issue.
 
Glad we could help & thanks for the feedback.
 
Upvote 0

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,215,637
Messages
6,125,964
Members
449,276
Latest member
surendra75

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top