+ Reply to Thread
Results 1 to 5 of 5

Multiple lookup table

Hybrid View

  1. #1
    Registered User
    Join Date
    06-29-2010
    Location
    brentwood
    MS-Off Ver
    Excel 2003/7
    Posts
    5

    Smile Multiple lookup table

    Hi All

    I really hope someone here can help with this

    I have 3 variables that i need to lookup from a table, i have looked at another post on this forum but it does not seem to give me the correct result i have also tried writting a vlookup but can only get it too work with two vaiables

    please see attached sheet for an example of what iam trying to accomplish

    Thank you in advance for any help you may be able to give

    Regards

    Simon
    Attached Files Attached Files
    Last edited by simonbunker1; 06-29-2010 at 08:29 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Multiple lookup table

    Since you have merged cells in your table headings it makes it more difficult...

    Try adding a helper row just above the table that combines the 2 row headers of rows 20 and 21. So in C16 add formula:

    =LOOKUP(2,1/($C20:C20<>""),$C20:C20)&"_"&LOOKUP(2,1/($C21:C21<>""),$C21:C21)

    and copy it across to R16.

    Note: You can hide this row or colour the fonts to match background.

    Then your lookup formula would be:

    =INDEX($C$22:$R$40,MATCH(AA8,$B$22:$B$40),MATCH(Z8&"_"&X8,$C$16:$R$16,0))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    06-29-2010
    Location
    brentwood
    MS-Off Ver
    Excel 2003/7
    Posts
    5

    Re: Multiple lookup table

    NBVC

    Thank you, that was well beyond me, just one little niggle is that if type c is selected it returns N/A when it should -=0.45 or Q31 could you have another quick look,

    Really appreciate your expertise

    Regards

    Simon

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Multiple lookup table

    It is because your C in Q20 has a leading space... delete that space and all is well

  5. #5
    Registered User
    Join Date
    06-29-2010
    Location
    brentwood
    MS-Off Ver
    Excel 2003/7
    Posts
    5

    Re: Multiple lookup table

    Brilliant

    Thank you so much, you have no idea how much easier you have made my life

    Regards

    Simon

+ 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