+ Reply to Thread
Results 1 to 10 of 10

Look up value in a table based on multiple variables

  1. #1
    Registered User
    Join Date
    08-13-2013
    Location
    Atlanta, Georgia
    MS-Off Ver
    Excel 2013
    Posts
    58

    Look up value in a table based on multiple variables

    Hello All,

    I'm trying to create a "calculator" that will lookup a value within a grid based on three variables, one of the variables having its own set of variables.

    In the attached workbook you will see drop down options in A26:C26. Based on these variables I want to produce the corresponding value from the table above in the MSR cell E26. The Programs in C3:CH are easy but for the programs G30 and G15 there are unique values based on the three digits that the rate ends with. I try to explain the differences starting in A29.

    Also, I have included examples in N26 to show how the MSR should come out after the formula is working correctly.

    Thanks for your help!

    MSR Calculator.xlsx

  2. #2
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Look up value in a table based on multiple variables

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

  3. #3
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Look up value in a table based on multiple variables

    Here is another take on it:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  4. #4
    Registered User
    Join Date
    08-13-2013
    Location
    Atlanta, Georgia
    MS-Off Ver
    Excel 2013
    Posts
    58

    Re: Look up value in a table based on multiple variables

    Quote Originally Posted by Jacc View Post
    Here is another take on it:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    When I try my third example using this it doesn't pull 3.12. I'm getting 1.093?

  5. #5
    Registered User
    Join Date
    08-13-2013
    Location
    Atlanta, Georgia
    MS-Off Ver
    Excel 2013
    Posts
    58

    Re: Look up value in a table based on multiple variables

    Quote Originally Posted by gak67 View Post
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This seems to work but I didn't plan on having all the writing down there starting in row 29. How can I make this cleaner?

  6. #6
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Look up value in a table based on multiple variables

    I see you have data in row 1, but formatted to white text. I also did a trace dependents and trace precedents on it and came up with nothing. Does it need to be there? I was going to use row 1 so you could get rid of the writing below the table.

  7. #7
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Look up value in a table based on multiple variables

    I think you are using a List Tab for the dropdown boxes. On there create a 2 column range with 0.25, 0.375, 0, 0.125 in the first column and 19, 31.5, 44, 56.5 and name the range something appropriate. Replace the "$D$29:$D$32,6" part of the VLOOKUP part of my formula with "[something appropriate],2"

  8. #8
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Look up value in a table based on multiple variables

    Ok, trying againg.
    Attached Files Attached Files
    Last edited by Jacc; 05-09-2014 at 02:53 AM.

  9. #9
    Registered User
    Join Date
    08-13-2013
    Location
    Atlanta, Georgia
    MS-Off Ver
    Excel 2013
    Posts
    58

    Re: Look up value in a table based on multiple variables

    Quote Originally Posted by Jacc View Post
    Ok, trying againg.
    This seems to work perfectly! Thanks!

  10. #10
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Look up value in a table based on multiple variables


    -----------

+ 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: 1
    Last Post: 07-16-2013, 01:54 AM
  2. Pivot Table with Time Sensitivity based on Two X-Variables
    By Adam1030 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 04-05-2013, 02:07 PM
  3. Creating table using equation based on three variables.
    By canunu1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-28-2013, 07:08 PM
  4. Max value based on multiple variables
    By Kaziglu Bey in forum Excel General
    Replies: 5
    Last Post: 06-28-2011, 06:21 AM
  5. Pulling value from table based on two variables
    By nickymac in forum Excel General
    Replies: 2
    Last Post: 06-24-2011, 07:15 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