+ Reply to Thread
Results 1 to 8 of 8

Function to calculate total cost based on a tiered fee structure

  1. #1
    Registered User
    Join Date
    05-06-2021
    Location
    Dublin
    MS-Off Ver
    office 365
    Posts
    5

    Function to calculate total cost based on a tiered fee structure

    Capture.JPG

    Hello everyone

    I have a problem where I need to calculate one big number into different fee percentage structures.

    For example, in the month of April we did $ 8,817,247.28 worth of deposits.

    Our vendor will charge us as follow.

    TIERS

    Deposits Volume
    0-100k 4.8%
    100-500k 4.6%
    500-7.5M 3.9%
    7.5-10M 3.6%
    >10M 3.3%


    any idea or help how to solve this using a formula, I looked at other types but its confusing, ideally I would like a table where every month the team will just insert the new deposits volume and they will find out how much we should be charged.

    thank you in advance,

    regards
    Treevor

  2. #2
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    W: 2021 H: 365
    Posts
    940

    Re: Function to calculate total cost based on a tiered fee structure

    Morning Trevorino,

    This article describes what you need to do. Link

    Regards,

    Snook

  3. #3
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Function to calculate total cost based on a tiered fee structure

    You don't provide your expected result but, assuming this should be 343,621 then, to illustrate:

    enter following values into cells A2:A6: 0, 100000, 500000, 7500000, 10000000
    enter following values into cells B2:B6: 4.8%, 4.6%, 3.9%, 3.6%, 3.3%

    Then if we assume D1 holds your value of 8,817,247.28, we can calculate the output in E1 using:

    =SUMPRODUCT(--(D1>A2:A6),D1-A2:A6,N(+B2:B6)-N(+B1:B5))

    logic of this tiered method is detailed here
    {edit: above link is the same as that shared by @TheSnook}

  4. #4
    Registered User
    Join Date
    05-06-2021
    Location
    Dublin
    MS-Off Ver
    office 365
    Posts
    5

    Re: Function to calculate total cost based on a tiered fee structure

    Thank you sooo much

  5. #5
    Registered User
    Join Date
    05-06-2021
    Location
    Dublin
    MS-Off Ver
    office 365
    Posts
    5

    Re: Function to calculate total cost based on a tiered fee structure

    First of all thank you so much for a full and simple explanation

    One question for you?

    Why in the formula there is +B2:B6)-N(+B1:B5)) when all the information is Between A1 to A6 and B1 to B6?

  6. #6
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Function to calculate total cost based on a tiered fee structure

    the key is that this is a marginal calculation so, the % multipliers need to be marginal rate change -- e.g. the % for tier 2 "element" is, in fact, tier 2 % less tier 1%

    the use N(+...) is that we expect the first % to reside in row 2, with header in row 1, so we use this to ensure we don't hit a #VALUE! error
    e.g. 4.8%-"Percentage" --> #VALUE! whereas N(4.8%)-N("Percentage") = 4.8%
    Last edited by XLent; 05-06-2021 at 07:03 AM. Reason: tier 1 % should read 4.8% not 4.6%

  7. #7
    Registered User
    Join Date
    05-06-2021
    Location
    Dublin
    MS-Off Ver
    office 365
    Posts
    5

    Re: Function to calculate total cost based on a tiered fee structure

    Thank you kindly for your explanation

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,170

    Re: Function to calculate total cost based on a tiered fee structure

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

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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] Re: IF Function to calculate bonus based on tiered bonus rates
    By plaza2154 in forum Excel General
    Replies: 9
    Last Post: 08-05-2020, 03:56 PM
  2. VBA Code to calculate the cost per/sqm and total lt
    By Roampie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-12-2017, 05:35 AM
  3. [SOLVED] Calculate Total Cost of value associated with a word
    By Chasermelb in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-19-2016, 05:28 AM
  4. [SOLVED] Rate changes after 40 hours and need to calculate total cost?
    By y_not in forum Excel General
    Replies: 12
    Last Post: 10-06-2015, 12:16 PM
  5. [SOLVED] Formula to calculate a cost per day until total
    By Reno Nex in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-15-2014, 11:16 AM
  6. [SOLVED] Outputing engineering cost based on total cost of project. Looking for help with matching
    By cadamhill in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-17-2012, 09:31 PM
  7. Replies: 1
    Last Post: 07-06-2011, 10:53 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