+ Reply to Thread
Results 1 to 3 of 3

Need appropriate formula that derives a value for 2 lookups within a range

  1. #1
    Registered User
    Join Date
    08-20-2014
    Location
    Washington, DC
    MS-Off Ver
    ??
    Posts
    1

    Need appropriate formula that derives a value for 2 lookups within a range

    Hello,

    I am trying to find out the correct formula and structure to derive the appropriate level of discount (Level 0, Level 1, Level 2, Level 3), based on the quantity and the discount %.

    I have attached a sample table that shows four levels of discount. Both the quantity purchased and the discount % will be input into another table.

    Example: If I am purchasing 11 Widgets at a 27% discount, that would be a Level 1 Discount. What is the best way to automate that with a formula? Please see discount table attached.

    Thanks


    Sample Pricing Table.jpg

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,740

    Re: Need appropriate formula that derives a value for 2 lookups within a range

    this will help with the requirement
    http://skp.mvps.org/xl00002.htm
    by using a 1 instead of a 0 in the match - it should find the lowest match

    if you do the following - it would help a lot more than an image

    Please upload a sample of your workbook to the forum, Make sure you have removed any private information, remember this is a public forum and so available to anyone
    Would like to see an example of your data and also a manual mock up of the expected results you want to achieve.

    To attach a file to your post,
    click "Go advanced" (next to quick post),
    scroll down until you see "manage Attachments",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    08-19-2014
    Location
    Pittsburgh, Pennsylvania
    MS-Off Ver
    2010
    Posts
    45

    Re: Need appropriate formula that derives a value for 2 lookups within a range

    See the attached example.

    The two highlighted items are what you'd want to modify.
    The discount item is going to be a validation list only allowing you to select a discount percentage from the available options in the table.

    That logic:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The logic that determines the discount level:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Thanks,
    Jamie
    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. Lookups in a table range?
    By Mike1987 in forum Excel General
    Replies: 14
    Last Post: 06-21-2011, 04:32 AM
  2. INDEX and MATCH with range LOOKUPs?
    By neilbomb in forum Excel General
    Replies: 9
    Last Post: 06-22-2010, 07:33 PM
  3. vertical lookups and matching within a range
    By Pendrmic in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-13-2008, 06:53 PM
  4. Different Range Lookups
    By Jez in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-19-2006, 12:15 PM
  5. Replies: 2
    Last Post: 05-16-2005, 12:07 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