+ Reply to Thread
Results 1 to 7 of 7

Formula to calculate pricing with graduated, cumulative tier pricing

  1. #1
    Registered User
    Join Date
    03-10-2021
    Location
    California
    MS-Off Ver
    Microsoft 365
    Posts
    3

    Formula to calculate pricing with graduated, cumulative tier pricing

    Hi All!
    I'm trying to create a calculator that would calculate the total pricing for an account based on a graduated tier pricing model. We charge a license fee per user, and the more users you have, the cheaper your per user pricing.

    For example, if we charge $100 per user for 1-50 users, $50 per user for 51-250 users, and $25 per user for 251+ users. However, if someone has 51 users, they don't suddenly begin paying $50*51 users. Instead, they pay $100*50 + 1*50, because they have 1 user in the new tier.

    I found many solutions to calculate the price based on the number of users, but I can't figure out how to keep the pricing cumulative. I tried an IF formula but seemed to have messed it up, since I believe it's just multiplying the first pricing tier X the total # of users.

    Can anyone help me? Thank you very much in advance!
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Formula to calculate pricing with graduated, cumulative tier pricing

    quite a few ways to do that with a Nested IF or tables
    BUT

    330 uses in your example , that would be
    50 @ 100 = 5000
    200 @ 50 = 10000
    330-250 = 80 @ 25 = 2000
    =17,000

    But I dont see that in your spreadsheet

    =IF(A23 > 250,(50*100)+(200*50)+((A23-250)*25),"A")
    then i would add a nested IF in A
    =IF( A21 > 50 , ( 50*100) + ((A21-50)*50), "B")
    so nesting we get
    =IF(A21>250,(50*100)+(200*50)+((A21-250)*25),IF( A21 > 50, ( 50*100) + ((A21-50)*50), "B"))
    so for B the number must be under 50
    and so that is A21 * 100
    =IF(A21>250,(50*100)+(200*50)+((A21-250)*25),IF( A21 > 50, ( 50*100) + ((A21-50)*50), A21*100))

    =IF(A21>250,(50*100)+(200*50)+((A21-250)*25),IF( A21 > 50, ( 50*100) + ((A21-50)*50), A21*100))

    Or have I missed something

    A lookup table may be a better way to go - BUT this is the NESTED IF , as mentioned
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

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

    Re: Formula to calculate pricing with graduated, cumulative tier pricing

    without changing anything in your sample you can use the below approach for tiered results:

    =SUMPRODUCT(--(A9>=(TEXT(B2:B4,"0;;;\0")+0)),A9-TEXT(B2:B4,"0;;;\0"),N(+C3:C5)-N(+C2:C4))

    however, if you stored your upper thresholds (B3:B4) as actual numbers, you could dispense with the TEXT and shorten to:

    =SUMPRODUCT(--(A9>=N(+B2:B4)),A9-N(+B2:B4),N(+C3:C5)-N(+C2:C4))

    if you need to add more tiers just adjust range references accordingly

  4. #4
    Registered User
    Join Date
    03-10-2021
    Location
    California
    MS-Off Ver
    Microsoft 365
    Posts
    3

    Re: Formula to calculate pricing with graduated, cumulative tier pricing

    Thanks very much! That did the trick!! (And you were right - I had messed up my calculations - your numbers were correct)

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,896

    Re: Formula to calculate pricing with graduated, cumulative tier pricing

    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.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  6. #6
    Registered User
    Join Date
    03-10-2021
    Location
    California
    MS-Off Ver
    Microsoft 365
    Posts
    3

    Re: Formula to calculate pricing with graduated, cumulative tier pricing

    Thank you!

  7. #7
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Formula to calculate pricing with graduated, cumulative tier pricing

    you are welcome

+ 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. Progressive Pricing (2 tier) Formula HELP
    By jbaab in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-06-2021, 12:57 AM
  2. Tier Pricing help
    By xcllog in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-10-2015, 09:57 PM
  3. [SOLVED] Electirc Bill Formula with Tier based pricing help
    By hotzpacho in forum Excel General
    Replies: 4
    Last Post: 02-21-2015, 05:43 PM
  4. [SOLVED] Calculate Pricing from Start and End Date with different Pricing Weight for Each month
    By xyang06 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-06-2013, 02:54 AM
  5. Replies: 6
    Last Post: 04-10-2011, 01:34 PM
  6. Graduated Pricing
    By kevmac27 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-20-2007, 10:06 PM
  7. tier pricing
    By billburr in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-26-2006, 02:20 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