+ Reply to Thread
Results 1 to 6 of 6

sum function with a break point

  1. #1
    Registered User
    Join Date
    05-24-2007
    Posts
    73

    sum function with a break point

    Hi Guys
    I have a forumula I need to figure out. I am using EXCEL 2003

    Lets say I charge a customer for the amount of widgets he takes per month. He gets charged $125 per widget up to 90 widgets. Then for each widget after that, he gets charged a reduced rate of $55 per widget.

    Is it possible to have this all in one forumula?

    Thanks

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Tiered charges

    With
    A1: (a number widgets.....eg 91)

    This formula charges $125 for up to 90 widgets, then charges $55 for the remainder

    Please Login or Register  to view this content.
    In the above example, the formula returns: 11,305
    (90*125+1*55)

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    05-24-2007
    Posts
    73
    THanks Ron
    where does the 70 come from in that equation?

  4. #4
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Post Formula explanation

    Re: =A1*55+70*MIN(+A1,90)

    It works this way....
    Every widget is charged at $55.
    Up to 90 widgets are charged at an additional $70 (125 - 55)

    Does that help?

  5. #5
    Registered User
    Join Date
    05-24-2007
    Posts
    73
    yes, you are a genius. this worked, thank you

  6. #6
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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