+ Reply to Thread
Results 1 to 5 of 5

Looking up multiple variables in a table and giving the results

  1. #1
    Registered User
    Join Date
    12-01-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    29

    Looking up multiple variables in a table and giving the results

    I am trying to put together a discount calculator. There are 3 variables: Pricing Type, Partner Type and Discount level. Each one of these has several options

    Pricing Type: Base, Incumbent, DR sub 1,000, DR over 1,000
    Partner Type: R, S, G, P
    Discount Level:
    1-24%
    25%-34%
    35%-44%
    45%-64%
    65%-84%

    What I would like to do is have drop down boxes for each of the above (I can do that bit in attached spread sheet) and then from that calculate the correct discount base on the three variables. e.g. Base, R, 1-24% would then give me the correct discount from a table.

    I have attached a spread sheet - disc calc.xlsx - with the relevant information would be grateful if some one could show me how to do it?


    Many Thanks
    Last edited by mintribe; 02-27-2012 at 08:38 AM. Reason: complete

  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: Looking up multiple variables in a table and giving the results

    Hi,

    See the attached,

    Regards
    Attached Files Attached Files
    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
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: Looking up multiple variables in a table and giving the results

    If you change your drop-down list values so that the exactly match the headers in row 1 of your table then you can use this formula:

    =INDEX(B3:Q8,MATCH(C15,A3:A8,0),MATCH(C13,INDIRECT(ADDRESS(2,MATCH(C11,1:1,0)) & ":" & ADDRESS(2,MATCH(C11,1:1,0)+3)),0))

  4. #4
    Registered User
    Join Date
    12-01-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: Looking up multiple variables in a table and giving the results

    thank you - I suppose it is easy when you know how Apreciate your help

  5. #5
    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: Looking up multiple variables in a table and giving the results

    Indeed, it always is!

    Applies throughout life.....

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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