+ Reply to Thread
Results 1 to 9 of 9

Calculating driver pay from the mileage they have travelled

  1. #1
    Registered User
    Join Date
    09-21-2017
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    17

    Calculating driver pay from the mileage they have travelled

    Hi guys,

    I am trying to calculate the pay for over 5000 taxi runs that have gone. I have the pay sheet (£s per mile etc) and a list of the jobs with the exact mileage (2.02 etc). What we would normally do is for a route that is 2.02 we would pay them for 3 miles. What is a simple formula that I can put in to calculate this. The tables look like the following;

    A B C D E F G H I J
    Start Date Call Sign Surname Forename Planned Mileage Pay Mobility Text From Postcode To Postcode

    Column E is what need to be filled out from

    A B
    Miles Pay
    1 4.50
    2 6.00
    3 7.50
    4 9.00

    So for example if a driver did a job for 3.5 miles they would get £9, if they did a job for 0.3 they would get £4.50 etc

    Hope this makes sense

    TJ

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: Calculating driver pay from the mileage they have travelled

    If the structure is £3.00 plus £1.50 per mile (or part hthereof), use this:

    =3+1.5*ROUNDUP(A1,0)

    with the miles travelled in A1
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: Calculating driver pay from the mileage they have travelled

    If the structure is £3.00 plus £1.50 per mile (or part thereof), use this:

    =3+1.5*ROUNDUP(A1,0)

    with the miles travelled in A1

  4. #4
    Registered User
    Join Date
    09-21-2017
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    17

    Re: Calculating driver pay from the mileage they have travelled

    Thanks Glenn, unfortunately no I simplified it - the actual mileage calculator is as follows;

    Mls PPM Total PAY
    1 4.5 4.5
    2 1.35 5.85
    3 1.35 7.2
    4 1.35 8.55
    5 1.35 9.9
    6 1.35 11.25
    7 1.35 12.6
    8 1.35 13.95
    9 1.35 15.3
    10 1.35 16.65
    11 1.35 18
    12 1.35 19.35
    13 1.35 20.7
    14 1.35 22.05
    15 1.35 23.4
    16 1.3 24.7
    17 1.3 26
    18 1.3 27.3
    19 1.3 28.6
    20 1.3 29.9
    21 1.3 31.2
    22 1.3 32.5
    23 1.3 33.8
    24 1.3 35.1
    25 1.3 36.4
    26 1.13 37.53
    27 1.13 38.66
    28 1.13 39.79
    29 1.13 40.92
    30 1.13 42.05

    After this its 1.13 a mile no matter how far they travel

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: Calculating driver pay from the mileage they have travelled

    OK. Try this:

    =3+SUMPRODUCT(--(ROUNDUP(D1,0)>{0,1,15,25}),--(ROUNDUP(D1,0)-{0,1,15,25}),{1.5,-0.15,-0.05,-0.17})

    with distance travelled in D1

  6. #6
    Registered User
    Join Date
    09-21-2017
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    17

    Re: Calculating driver pay from the mileage they have travelled

    Thanks Glenn that is absolutely perfect and worked a treat - you are an excel guru

    TJ

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: Calculating driver pay from the mileage they have travelled

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

  8. #8
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Calculating driver pay from the mileage they have travelled

    Hi,
    Another approach:
    Assuming the calculator from your post is in cells A1:C31 (row 1 contains headers) and actual mileage is in F1 then
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    shall do the job
    Attached Files Attached Files
    Best Regards,

    Kaper

  9. #9
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Calculating driver pay from the mileage they have travelled

    Hi,

    Glad to hear that, and thanks for marking thread as Solved, and for the reputation point.

+ 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. Replies: 3
    Last Post: 12-08-2020, 12:22 PM
  2. [SOLVED] accounting for mileage in driver productivity?
    By air044 in forum Excel General
    Replies: 1
    Last Post: 04-23-2016, 02:01 AM
  3. [SOLVED] Calculating daily mileage payment
    By alarm_guy1 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-13-2013, 02:23 PM
  4. Calculating mileage driven from odometer readings
    By MARKSTRO in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-04-2013, 06:40 PM
  5. Calculating mileage
    By jamington2004 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-21-2012, 06:53 AM
  6. Calculating $/hr (delivery driver)
    By oliveman6 in forum Excel General
    Replies: 3
    Last Post: 01-01-2010, 03:30 AM
  7. [SOLVED] Calculating for personal car mileage?
    By Elau in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 01-16-2006, 06:30 PM

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