+ Reply to Thread
Results 1 to 9 of 9

Tiered Pricing

  1. #1
    Registered User
    Join Date
    02-04-2020
    Location
    Baltimore, MD
    MS-Off Ver
    O365
    Posts
    6

    Tiered Pricing

    Looking for an elegant way to handle tiered pricing.

    In other words, if you buy <10, your price is $x. But if you buy 11-25, the price is $y, and if you buy 26-50, the price is $z.

    This seems to be pretty simple, but doing it is taking on the form of nested IFs.

    =IF(A1<11,10,IF(A1<26,9,IF(A1<51,8)))

    Something like that. The problem is that the list is rather long, and I'd much rather have a way to look it up instead of having to fix a bunch of nested IFs every time the prices change. What I'd prefer would be a lookup table, where I can say something like, "If the value is between C1:C20 to D1:D20, then the price is E1:E20" (with each individual lookup being on the same row.)

    I think it should be do-able through some sort of VLOOKUP, but I don't know how to do it.

    Any thoughts?
    Last edited by d0ughb0y; 02-04-2020 at 01:41 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Tiered Pricing

    Hi and welcome to the forum. Please upload the tiered pricing table.

    Sometimes if the pricing table has a consitent change from one tier to another it's not even necessary for a Vlookup. However upload the details and we can then offer a suggestion.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,682

    Re: Tiered Pricing

    depending on the list, you could use a table like structure. So the quantity in one cell and across from it the number, if set up in ascending order and a vlookup.
    so for example say the value you are looking up to get the price on is in A2 and the table with 0 in K2 and 10 in L2 and 10 in K3 and 9 in L3 etc. Then a vlookup like
    =A2*VLOOKUP(A2,$K$2:$L$4,2,TRUE) should handle your pricing.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    MA, USA
    MS-Off Ver
    365(PC) V:2412
    Posts
    1,475

    Re: Tiered Pricing

    couple ways.

    You can manually enter them in a Lookup formula
    =lookup(A1,{10,26,51},{10,9,8}) etc etc

    or you can make a table to do a vlookup up off and use TRUE for [range lookup]



    EDIT: I'm half asleep
    Last edited by dosydos; 02-04-2020 at 01:32 PM.
    <----- If you are happy with your solution please click on the "* Add Reputation" as a way to say thank you.

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,682

    Re: Tiered Pricing

    @dosydos, I believe you will have to use a TRUE on a vlookup in order for it to work, otherwise with FALSE it will look for exact matches and values not in the range will return #N/A.

  6. #6
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    MA, USA
    MS-Off Ver
    365(PC) V:2412
    Posts
    1,475

    Re: Tiered Pricing

    Quote Originally Posted by Sambo kid View Post
    @dosydos, I believe you will have to use a TRUE on a vlookup in order for it to work, otherwise with FALSE it will look for exact matches and values not in the range will return #N/A.
    wow... i must be asleep at my desk as that was a poor mistake. Fixed it in my original. nice catch sambo

  7. #7
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,682

    Re: Tiered Pricing

    Not a problem, we all make mistakes, I've made my share of sleep deprived mistakes.

  8. #8
    Registered User
    Join Date
    02-04-2020
    Location
    Baltimore, MD
    MS-Off Ver
    O365
    Posts
    6

    Re: Tiered Pricing

    Thanks for the help everyone. It's working great now!

  9. #9
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,682

    Re: Tiered Pricing

    Glad I (we) could help, AND thank you for the rep!

+ 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. Help with a Tiered Pricing Calculator?
    By godawgs17 in forum Excel General
    Replies: 5
    Last Post: 12-14-2018, 03:27 AM
  2. [SOLVED] Tiered Pricing Help!
    By Ashley12120 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 11-30-2017, 11:10 AM
  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