+ Reply to Thread
Results 1 to 9 of 9

Help with creating excel spreadsheet for calculating mileage with multiple rates

  1. #1
    Registered User
    Join Date
    01-27-2016
    Location
    NZ
    MS-Off Ver
    Excel 2007
    Posts
    4

    Help with creating excel spreadsheet for calculating mileage with multiple rates

    Hi there,

    I want to create a spreadsheet or formula for calculating mileage that has different rates.

    Say if I travelled 196 km, I am entitled to 0.78 cents per km for the first 50km, 0.50 cents per km for the next 100 km then over that I get 0.35 cents per km.

    Ideally on the spreadsheet I would just enter the total travelled e.g 196 km and the spreadsheet would work it all out for me.

    I have no idea how to do this though, hence my asking for help. Or am I expecting too much from Excel?

    Cheers

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Help with creating excel spreadsheet for calculating mileage with multiple rates

    Enter 196 in cell A1

    Enter this formula B2

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by mehmetcik; 01-27-2016 at 09:12 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Help with creating excel spreadsheet for calculating mileage with multiple rates

    your wording is slightly ambigious
    do you mean

    0-50 km= 0.78
    51-100km=0.5
    100km+=0.35

    or

    0-50 km
    51-151 km
    150+km
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Registered User
    Join Date
    01-27-2016
    Location
    NZ
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Help with creating excel spreadsheet for calculating mileage with multiple rates

    Thanks for your reply metmehcik, but this hasn't given me the answer I was looking for.

    humdingaling, sorry, I'll try to explain a little better.

    Say I have travelled 196 km. The first 50 km I get $0.78 per km, so 0-50 km @ $0.78/km = $39

    I still have 146 km left, the next 100 km gets charged at $0.50 per km, so 50-150 km @0.50/km = $50

    I have 46 km left, so this gets charged at $0.35 per km 150+ km @ $0.35/km = $16.10

  5. #5
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Help with creating excel spreadsheet for calculating mileage with multiple rates

    Say I have travelled 196 km. The first 50 km I get $0.78 per km, so 0-50 km @ $0.78/km = $39

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    $39

    I still have 146 km left, the next 100 km gets charged at $0.50 per km, so 50-150 km @0.50/km = $50

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    $50

    I have 46 km left, so this gets charged at $0.35 per km 150+ km @ $0.35/km = $16.10

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    $16.1


    So putting that together

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Formula: copy to clipboard
    Please Login or Register  to view this content.


    that gives $105.1

  6. #6
    Registered User
    Join Date
    01-27-2016
    Location
    NZ
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Help with creating excel spreadsheet for calculating mileage with multiple rates

    Awesome, thanks Metmehcik. That works!

  7. #7
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Help with creating excel spreadsheet for calculating mileage with multiple rates

    since i created it anyways
    see attachment of how i did it

    slightly different way of doing it to mehmetcik which i included as a checksum
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    01-27-2016
    Location
    NZ
    MS-Off Ver
    Excel 2007
    Posts
    4

    Thumbs up Re: Help with creating excel spreadsheet for calculating mileage with multiple rates

    Ahh fantastic, thank you so much! This is exactly what I needed!

  9. #9
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Help with creating excel spreadsheet for calculating mileage with multiple rates

    Slightly different solution

    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Calculate Mileage Based on 2 Rates
    By jbondbmw in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-17-2014, 09:21 PM
  2. Formula for HMRC Mileage rates
    By Jinky_uk in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-30-2013, 01:04 PM
  3. [SOLVED] Mileage Log and Reimbursement Form with Split rates
    By robiniwitz in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-28-2012, 02:26 PM
  4. [SOLVED] Calculating multiple exchange rates
    By Merlinti in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-20-2012, 03:42 PM
  5. Replies: 1
    Last Post: 02-08-2012, 11:37 AM
  6. Using a formula to calcualte different mileage rates
    By andrewf in forum Excel General
    Replies: 2
    Last Post: 01-17-2012, 11:59 AM
  7. service invoice for parts, tax, two labor rates,mileage inventory.
    By T&M Petro Mike B. in forum Excel General
    Replies: 0
    Last Post: 01-19-2005, 12:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1