+ Reply to Thread
Results 1 to 3 of 3

How Do I Capture Which Price to Charge Based on Quantity Sold

  1. #1
    Forum Contributor
    Join Date
    05-17-2017
    Location
    Tallahassee
    MS-Off Ver
    15.32
    Posts
    206

    How Do I Capture Which Price to Charge Based on Quantity Sold

    I hope you are all having a good day. I have a table that has ranges of quantities and prices per range. For instance, from 1 to 1000 units, the price is $1 per. From 1001 to 5000 units, the price is $0.9 per. Note that I am not saying that, if for example we had 2000 units, that we'd charge $1 for the first 1000 and $0.9 for the next 1000. I am saying that the charge will be $0.9 for each unit since they fall into that second pricing tier. What formula would you use to capture which pricing scheme to use based on my quantity variable?

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: How Do I Capture Which Price to Charge Based on Quantity Sold

    I would use one of Excel's lookup functions. VLOOKUP() seems to be the most common starting point. https://support.office.com/en-us/art...8-93a18ad188a1 Unfortunately, almost all examples in the help files and on the internet are for "exact match" (4th argument of VLOOKUP=FALSE) type lookups, where you will want the "approximate match" 4th argument=TRUE be-sure-sort-the-lookup-table/column option. I created this example of how the binary search "approximate match" algorithm works here as part of another spreadsheet: https://www.excelforum.com/tips-and-...p-example.html
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Contributor
    Join Date
    05-17-2017
    Location
    Tallahassee
    MS-Off Ver
    15.32
    Posts
    206

    Re: How Do I Capture Which Price to Charge Based on Quantity Sold

    Quote Originally Posted by MrShorty View Post
    I would use one of Excel's lookup functions. VLOOKUP() seems to be the most common starting point. https://support.office.com/en-us/art...8-93a18ad188a1 Unfortunately, almost all examples in the help files and on the internet are for "exact match" (4th argument of VLOOKUP=FALSE) type lookups, where you will want the "approximate match" 4th argument=TRUE be-sure-sort-the-lookup-table/column option. I created this example of how the binary search "approximate match" algorithm works here as part of another spreadsheet: https://www.excelforum.com/tips-and-...p-example.html
    Thank you so much!

+ 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. [SOLVED] Price markup distribution based on total charge
    By johnnyfinfan in forum Excel General
    Replies: 6
    Last Post: 06-03-2015, 12:31 PM
  2. [SOLVED] Multiple IF's to calculate price based on cost and add handling charge and round price
    By RoyRose in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-13-2014, 01:18 PM
  3. [SOLVED] Setting a selling price based on cost price and order quantity
    By Steven811 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-11-2014, 08:07 AM
  4. [SOLVED] Count the number of items sold in one column based on the quantity in another column
    By mike_m1 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-20-2013, 05:48 AM
  5. Calculating Asking Price Based on Cost of Goods Sold
    By buddy5954 in forum Excel General
    Replies: 13
    Last Post: 04-14-2011, 02:34 AM
  6. Searching applicable price based on various quantity
    By Umer in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-25-2009, 01:48 PM
  7. Calculate price based on quantity
    By DieselNash in forum Excel General
    Replies: 5
    Last Post: 04-21-2009, 10:51 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