+ Reply to Thread
Results 1 to 10 of 10

Sumproduct pricing table threshold calculation issue

  1. #1
    Registered User
    Join Date
    03-23-2024
    Location
    Antwerp, Belgium
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO
    Posts
    5

    Sumproduct pricing table threshold calculation issue

    Hi,
    I'm trying to automize a pricing table threshold calculation using Sumproduct, but this fails.
    I'm stuck.
    Cfr the file, it's self-explanatory.
    Please help.
    Brgds,
    Michael
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Sumproduct pricing table threshold calculation issue

    This?
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    = 50
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    03-23-2024
    Location
    Antwerp, Belgium
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO
    Posts
    5

    Re: Sumproduct pricing table threshold calculation issue

    No, the result for check = 55 should be : 10 * 4 + 40 * 3 + 5 * 2 = 170

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Sumproduct pricing table threshold calculation issue

    And that would be why? You know how and why you expect that result. I don't. Others may understand but, given you've had 29 views and only my response, I’m guessing not.

  5. #5
    Registered User
    Join Date
    03-23-2024
    Location
    Antwerp, Belgium
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO
    Posts
    5

    Re: Sumproduct pricing table threshold calculation issue

    Let me clarify :

    The first 10 Q you buy are priced 4 €
    The next 11 to 50 Q are priced 3 €
    The next 51 to 200 Q are priced 2 €
    Above 200 Q are priced 1 €

    So when you buy 55 Q, this is the calculation :

    10 Q * 4 € = 40 €
    40 Q * 3 € = 120 €
    5 Q * 2 € = 10 €

    Result : total 55 Q for 170 €

    How to convert this into one function with Q as input field ?
    Last edited by mimijojo; 03-24-2024 at 04:53 PM.

  6. #6
    Registered User
    Join Date
    03-23-2024
    Location
    Antwerp, Belgium
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO
    Posts
    5

    Re: Sumproduct pricing table threshold calculation issue

    I'm still stuck. Someone available to help ?

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

    Re: Sumproduct pricing table threshold calculation issue

    Be patient, please. Your last post was in the middle of yesterday evening and it's now only just the start of a new day. AND it's a free forum - you aren't paying for this. Bumping threads should only happen once 24 hours have passed.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  8. #8
    Registered User
    Join Date
    03-23-2024
    Location
    Antwerp, Belgium
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO
    Posts
    5

    Re: Sumproduct pricing table threshold calculation issue

    I found the solution:

    Reshuffling the threshold column, adding a new price difference column and compiling these two columns into the sumproduct function now calculates the right result.

    Attachment 863984

  9. #9
    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,215

    Re: Sumproduct pricing table threshold calculation issue

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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.

  10. #10
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Sumproduct pricing table threshold calculation issue

    Another formula.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. Staffing per Hour Calculation Issue (SUMPRODUCT)
    By mcordi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-11-2021, 10:28 AM
  2. Calculation of incremental pricing
    By jeremy_ljw in forum Excel General
    Replies: 4
    Last Post: 03-26-2021, 03:56 AM
  3. [SOLVED] Need excel formula that provides a minimum value if calculation is below a threshold
    By kian82 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-28-2017, 11:31 AM
  4. Calculation of incremental pricing
    By komododragon in forum Excel General
    Replies: 4
    Last Post: 04-29-2016, 12:37 PM
  5. Formula help for bonus calculation with minimum threshold?
    By wisey11 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-07-2015, 09:56 AM
  6. [SOLVED] table calculation with name duplicates and split columns - where sumproduct fails...
    By BuZZarD73 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-25-2014, 07:46 AM
  7. Excel 2007 : How to automate calculation of threshold value?
    By sandyjune1988 in forum Excel General
    Replies: 1
    Last Post: 12-28-2011, 02:50 AM

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