+ Reply to Thread
Results 1 to 5 of 5

bracket pricing interpolation

Hybrid View

  1. #1
    Registered User
    Join Date
    04-24-2012
    Location
    Madison, Wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    8

    bracket pricing interpolation

    50 pc price $55.06
    150 pc price $43.71
    250 pc price $42.20
    500 pc price $39.53

    Customer wants to know what order quantity is associated with $40.77 price

    I did a scatter plot and the exponential trendline is the best fit although it's not perfect. The bigger problem is with resolution. Quantities are changing pretty fast in the $40.77 area so "eyeballing" the chart is unreliable.
    Best way to interpolate quantity at a given price?
    Thx-
    MinT

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,515

    Re: bracket pricing interpolation

    I don't know if there is a single "best way". This post (http://www.excelforum.com/excel-char...ml#post3904113 ) has an example of one way to do it. If you look at column H:J in my sample workbook, you find a lookup table that regresses parameters for each consecutive pair of points. You can then use a simple lookup function (VLOOKUP() or other -- see formula in column F) to return the m and b for the desired region containing the unkown value, then find y for a given x (or x for a given y). In the sample, the x value to feed into the lookup function is given in column D.

    The example uses a log/log function (ln(y)=m*ln(x)+b) as the regression equation. You can change the LINEST() function to get whatever your desired regression would be.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: bracket pricing interpolation

    If that's your pricing, there's no way he gets $40.77. What is he, a wise guy?

    1. You could price based on a linear interpolation between existing prices:

    Row\Col
    A
    B
    C
    1
    Qty
    Price
    2
    50
    $ 55.06
    3
    150
    $ 43.71
    4
    250
    $ 42.20
    5
    500
    $ 39.53
    6
    7
    $ 40.77
    8
    250
    $ 42.20
    A8: {=INDEX($A$2:$A$5, MATCH(TRUE, $B$2:$B$5>=B7, 1))}
    9
    500
    $ 39.53
    A9: {=INDEX($A$2:$A$5, MATCH(TRUE, $B$2:$B$5 < B7, 0))}
    10
    383.9
    A10: =A8 + (B7-B8)/(B9-B8) * (A9-A8)


    2. Or, you could use an exponential interpolation between existing prices, but that's more complicated.

    3. Or, you could use an exponential pricing model, which gives a differnt price for every quantity.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,429

    Re: bracket pricing interpolation

    Please pricing interpolation.
    Attached Files Attached Files

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: bracket pricing interpolation

    Nice, Czeslaw.

    Another way:

    Row\Col
    A
    B
    C
    1
    Qty
    Price
    2
    50
    $ 55.06
    3
    150
    $ 43.71
    4
    250
    $ 42.20
    5
    500
    $ 39.53
    6
    7
    383.9
    $ 40.77
    A7: =PERCENTILE($A$2:$A$5, 1-PERCENTRANK($B$2:$B$5, B7, 6))

+ 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. Replies: 2
    Last Post: 07-18-2014, 03:00 AM
  2. [SOLVED] Trying to compare current pricing and costs with suggested pricing
    By dearnne in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-28-2013, 07:01 PM
  3. Pricing Guide/Chart with variable pricing increases
    By HSDesigns in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-23-2013, 04:49 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. Remove String Within the Bracket and also the Bracket
    By seanyeap in forum Excel General
    Replies: 6
    Last Post: 04-23-2010, 10:24 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