+ Reply to Thread
Results 1 to 14 of 14

Calculating Courier Costs

Hybrid View

Daniels5660 Calculating Courier Costs 02-24-2022, 07:02 AM
AliGW Re: Calculating Courier Costs 02-24-2022, 07:07 AM
Glenn Kennedy Re: Calculating Courier Costs 02-24-2022, 07:21 AM
Daniels5660 Re: Calculating Courier Costs 02-24-2022, 07:53 AM
Daniels5660 Re: Calculating Courier Costs 02-24-2022, 07:23 AM
Glenn Kennedy Re: Calculating Courier Costs 02-24-2022, 07:24 AM
AliGW Re: Calculating Courier Costs 02-24-2022, 07:27 AM
Glenn Kennedy Re: Calculating Courier Costs 02-24-2022, 07:39 AM
AliGW Re: Calculating Courier Costs 02-24-2022, 07:56 AM
AliGW Re: Calculating Courier Costs 02-24-2022, 07:57 AM
Glenn Kennedy Re: Calculating Courier Costs 02-24-2022, 08:03 AM
Daniels5660 Re: Calculating Courier Costs 02-25-2022, 11:13 AM
Glenn Kennedy Re: Calculating Courier Costs 02-25-2022, 04:02 PM
Daniels5660 Re: Calculating Courier Costs 03-03-2022, 09:07 AM
  1. #1
    Registered User
    Join Date
    02-24-2022
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    6

    Calculating Courier Costs

    Please could someone help provide a formula for me to calculate courier costs based on a consignments combined total weight?

    Courier charges are tiered in 3 levels and are calculated on the combined weight of all boxes.
    A flat fee for the first 20Kg of £6.25,
    and then a cost of £0.28 per kg up to 100Kg
    then a cost of £0.35 per Kg for anything above 100Kg

    I have attached a basic spreadsheet as an example.


    Thanks

    Dan
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,656

    Re: Calculating Courier Costs

    Try this:

    =(MAX(0,D6-E14)*D14)+(MAX(0,D6-E13)*D13)+D12
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  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 2406
    Posts
    44,662

    Re: Calculating Courier Costs

    Try this:

    =MAX(6.25,SUMPRODUCT(--(D6>{0,20,100}),--(D6-{0,20,100}),{0.3125,-0.0325,0.07}))

    see cells (in sheet) shaded purple for derivation of the bits in red (above)
    Attached Files Attached Files
    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

  4. #4
    Registered User
    Join Date
    02-24-2022
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    6

    Re: Calculating Courier Costs

    Quote Originally Posted by Glenn Kennedy View Post
    Try this:

    =MAX(6.25,SUMPRODUCT(--(D6>{0,20,100}),--(D6-{0,20,100}),{0.3125,-0.0325,0.07}))

    see cells (in sheet) shaded purple for derivation of the bits in red (above)
    Thank you, works great. I replied without refreshing browser so I didn't see your post. So I would use the value given in the Orange Cell F:6 for any weights above 100Kg?
    Dan

  5. #5
    Registered User
    Join Date
    02-24-2022
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    6

    Re: Calculating Courier Costs

    Hi Ali
    Wow that was quick thank you, unfortunately this gives an incorrect cost. a weight of 21Kg gives a cost of £19.48 this should only be £6.25+£0.28=£6.53

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

    Re: Calculating Courier Costs

    See Post 3.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,656

    Re: Calculating Courier Costs

    No, it returns what you asked for:
    AliGW on MS365 Insider (Windows) 64 bit

    C
    D
    E
    F
    2
    Courier Charges
    3
    Next Day 16:00 Service
    4
    5
    Weight (kg) Courier Cost
    6
    Combined weight of all parcels
    21.00
    £6.53
    =(MAX(0,D6-E14)*D14)+(MAX(0,D6-E13)*D13)+D12
    Sheet: Sheet1

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

    Re: Calculating Courier Costs

    Ali, you haven't told anyone what is in E13 and E14...

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,656

    Re: Calculating Courier Costs

    See below:

    AliGW on MS365 Insider (Windows) 64 bit

    C
    D
    E
    F
    2
    Courier Charges
    3
    Next Day 16:00 Service
    4
    5
    Weight (kg) Courier Cost
    6
    Combined weight of all parcels
    21.00
    £6.53
    =(MAX(0,D6-E14)*D14)+(MAX(0,D6-E13)*D13)+D12
    7
    8
    9
    10
    11
    12
    Cost for the first 20 Kg
    £ 6.25
    0
    13
    Cost of each Kg from 20Kg to 100Kg
    £ 0.28
    20
    14
    Cost of each Kg above 100Kg
    £ 0.35
    100
    Sheet: Sheet1

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,656

    Re: Calculating Courier Costs

    Or this:

    =(MAX(0,D6-100)*D14)+(MAX(0,D6-20)*D13)+D12

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

    Re: Calculating Courier Costs

    No need to do anything. The formula in F6 works perfectly for all values >100 Kg or otherwise. The values in the purple cells are not used. i just put them there for your information. they can be deleted, if you wish.

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

  12. #12
    Registered User
    Join Date
    02-24-2022
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    6

    Re: Calculating Courier Costs

    Thank you for this, I am planning ahead if the courier put up there rates I would need to update the values accordingly I have adjusted the formula but part of it does not work with cell references.

    =MAX(D12,SUMPRODUCT(--(D6>{0,20,100}),--(D6-{0,20,100}),{0.3125,-0.0325,0.07}))
    0.3125 would be Cell F12
    -0.0325 would be Cell F13
    0.07 would be Cell F14

    Can you take a look at the attached and advise please?
    Thank you
    Dan
    Attached Files Attached Files

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

    Re: Calculating Courier Costs

    If you want to do it that way, then see file...
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    02-24-2022
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    6

    Re: Calculating Courier Costs

    Wow that is perfect thank you Glenn Kennedy

+ 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. [SOLVED] Calculate Courier Costs
    By jimbokeep in forum Excel General
    Replies: 12
    Last Post: 02-24-2022, 06:44 AM
  2. [SOLVED] calculating inflated component costs
    By Seattlites in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-06-2020, 11:41 AM
  3. Calculating shipping costs
    By LPJR in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 10-11-2016, 11:06 AM
  4. [SOLVED] calculating accumulated rental costs
    By jimcuk in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 04-25-2016, 03:14 PM
  5. Calculating labour costs
    By ceght in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-21-2015, 09:01 AM
  6. Replies: 3
    Last Post: 07-28-2014, 08:57 PM
  7. [SOLVED] Simple Calculating Costs
    By Tanker350 in forum Excel General
    Replies: 1
    Last Post: 10-18-2005, 11:05 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