+ Reply to Thread
Results 1 to 15 of 15

Tiered pricing

  1. #1
    Registered User
    Join Date
    06-11-2022
    Location
    Indonesia
    MS-Off Ver
    2019
    Posts
    7

    Tiered pricing

    Cross-posted at
    https://www.msofficeforums.com/excel...need-help.html
    https://www.mrexcel.com/board/thread...array.1207505/
    --6SJ


    Hi

    I really need help making a formula in 1 line to calculate water bill based on customer class, usage volume with progressive rates.

    The table is like this:


    Excel Forum 2.jpg


    As an example :

    Usage volume is 100 M3
    Customer class is Rumah Tangga I
    the bill is 276,250 with the following details:

    1-10 m3 : 10 x 1,500 = 15,000
    11-15 : 5 x 1.850 = 9.250
    16-20 : 5 x 2,400 = 12,000
    > 20 : 80 x 3,000 = 240,000

    GRAND TOTAL = 276,250


    How to make a formula in 1 line to calculate the water bill ?

    Thank you for the help
    Last edited by 6StringJazzer; 06-11-2022 at 10:09 AM.

  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,067

    Re: Tiered pricing

    Hi. Forum Rule 1 is very short. It states: "Title must briefly summarize your request."

    A GOOD thread title is the sort of thing you would use as a search term on Google*. Your chosen title would produce a squillion useless hits. In future, please take a bit more time to think of a descriptive title that would be "Google-friendly". Many people search the forum answers looking for help and your very general title wouldn't help them at all.

    Since you are a new user of this site, on this occasion, I have changed it for you.

    However, if you continue to use weak titles, you can expect to have your thread BLOCKED until you change it yourself. If that happens, to edit the thread title, open the original post, click "Edit Post" (bottom right) to access the area where you can edit your title.

    *Other search engines are available!!!

    Regards,

    Glenn.

    ALSO>>>> Please read the yellow banner (top) and upload an excel file... not a non-editable picture of one.
    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
    Registered User
    Join Date
    06-11-2022
    Location
    Indonesia
    MS-Off Ver
    2019
    Posts
    7

    Re: Tiered pricing

    thank you very much Glenn

  4. #4
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,451

    Re: Tiered pricing

    Hi densoes Welcome to the forum, just registered, completely new

    Please read and refer to this link, how to upload attachments,follow mathod 2
    https://www.excelforum.com/the-water...his-forum.html

  5. #5
    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,223

    Re: Tiered pricing

    See attached

    Cost

    =SUMPRODUCT(($F$2>=$C$2:$C$5)*($F$2-$C$2:$C$5),$E$2:$E$5)

    Create table for each Customer Class
    Attached Files Attached Files
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  6. #6
    Registered User
    Join Date
    06-11-2022
    Location
    Indonesia
    MS-Off Ver
    2019
    Posts
    7

    Re: Tiered pricing

    Quote Originally Posted by JohnTopley View Post
    See attached

    Cost

    =SUMPRODUCT(($F$2>=$C$2:$C$5)*($F$2-$C$2:$C$5),$E$2:$E$5)

    Create table for each Customer Class


    Thanks John for your answer, it works

    But what about other customer class?
    For example Rumah Tangga II, III and so on. Should I create so many auxiliary tables?

    And again, what if the Usage Volume is not 100 m3 For example 9 or 10 or 16 or something else?

    Thank you

  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,067

    Re: Tiered pricing

    Densoes, As requested previously, please upload the file that YOU have in front of you.

  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,223

    Re: Tiered pricing

    I have added a sample table for all Customer types, using named ranges

    =SUMPRODUCT((Usage>=Tiers)*(Usage-Tiers),INDIRECT(SUBSTITUTE(D$10," ","_")))
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    06-11-2022
    Location
    Indonesia
    MS-Off Ver
    2019
    Posts
    7

    Re: Tiered pricing

    Quote Originally Posted by Glenn Kennedy View Post
    Densoes, As requested previously, please upload the file that YOU have in front of you.
    Like this Glenn ??
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    06-11-2022
    Location
    Indonesia
    MS-Off Ver
    2019
    Posts
    7

    Re: Tiered pricing

    Quote Originally Posted by JohnTopley View Post
    I have added a sample table for all Customer types, using named ranges

    =SUMPRODUCT((Usage>=Tiers)*(Usage-Tiers),INDIRECT(SUBSTITUTE(D$10," ","_")))
    Solved

    A formula like this that I ordered
    Thank you very much John

  11. #11
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,451

    Re: Tiered pricing

    Quote Originally Posted by densoes View Post
    Like this Glenn ??
    Cell F20 formula , Drag down
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by wk9128; 06-11-2022 at 08:49 AM.

  12. #12
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Tiered pricing

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not told us about this. You are required to do so.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    I have added for you since you are new but please read all the rules.
    Last edited by 6StringJazzer; 06-11-2022 at 10:08 AM.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  13. #13
    Registered User
    Join Date
    06-11-2022
    Location
    Indonesia
    MS-Off Ver
    2019
    Posts
    7

    Re: Tiered pricing

    Quote Originally Posted by wk9128 View Post
    Cell F20 formula , Drag down
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thank you very much

  14. #14
    Registered User
    Join Date
    06-11-2022
    Location
    Indonesia
    MS-Off Ver
    2019
    Posts
    7

    Re: Tiered pricing

    Quote Originally Posted by JohnTopley View Post
    I have added a sample table for all Customer types, using named ranges

    =SUMPRODUCT((Usage>=Tiers)*(Usage-Tiers),INDIRECT(SUBSTITUTE(D$10," ","_")))

    Hi John

    Thank you for your help, if you like I want to ask one more thing
    What is the formula for making Total Cost from January to April ??

    I attached the file


    Thank you
    Attached Files Attached Files

  15. #15
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,451

    Re: Tiered pricing

    The attachment you provided has changed slightly, you can see if this means it, if you have any questions, please come back and ask again

    Total cost = 1168250 Correct ?

    Cell D19 formula , Drag right
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Cell I23 formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by wk9128; 06-13-2022 at 02:28 AM.

+ 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. Formula for Tiered pricing with various pricing matrix
    By kunaltalreja in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-01-2020, 11:37 AM
  2. [SOLVED] Tiered Pricing
    By d0ughb0y in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-04-2020, 01:43 PM
  3. Tiered Pricing
    By mohammadsameja in forum Excel General
    Replies: 18
    Last Post: 07-01-2017, 07:28 AM
  4. [SOLVED] Tiered Pricing
    By Juan Bakal in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-02-2017, 08:51 AM
  5. [SOLVED] Trying to add tiered pricing to a CSV
    By rbsteve in forum Excel General
    Replies: 8
    Last Post: 07-01-2015, 04:57 AM
  6. [SOLVED] Tiered Pricing
    By unpuertomex in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-27-2012, 09:32 PM
  7. Tiered pricing
    By jimbojones82 in forum Excel General
    Replies: 1
    Last Post: 07-24-2012, 09:25 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