+ Reply to Thread
Results 1 to 4 of 4

Cleaning up VLOOKUP formula with possible matrix code

  1. #1
    Registered User
    Join Date
    01-15-2009
    Location
    Melbourne
    MS-Off Ver
    Excel 2003 and Excel 2007
    Posts
    2

    Cleaning up VLOOKUP formula with possible matrix code

    Hi,

    I have looked at some posts but I can’t seem to find anything to help me.

    I am wondering if there is an easier way to look up values in a matrix. I use the VLOOKUP with the vertical values as the lookup_value, then another lookup for the col_index_number to find the horizontal values.
    The example in the attached file is just a sample of my spreadsheet. I need to apply this to a roughly 10*10 matrix (which changes every now and then) and apply this matrix to over 1,200 rows.

    Is there an easy way to returne theses values or is the way I am currently doing it the best option.

    Cheers,

    Ryan
    Attached Files Attached Files
    Last edited by winnkys; 01-15-2009 at 11:39 PM.

  2. #2
    Registered User
    Join Date
    12-22-2008
    Location
    Vietnam
    Posts
    11
    You have just change D2=VLOOKUP(PROPER(TRIM(B2)),$F$2:$J$6,MATCH(TRIM(C2),$G$2:$J$2,0)+1,FALSE)

    Or D2=INDEX($G$3:$J$6,MATCH(TRIM(B2),$F$3:$F$6,0),MATCH(TRIM(C2),$G$2:$J$2,0))

  3. #3
    Registered User
    Join Date
    01-15-2009
    Location
    Melbourne
    MS-Off Ver
    Excel 2003 and Excel 2007
    Posts
    2
    Thanks for that. It eliminates the need for an extra matrix.

  4. #4
    Registered User
    Join Date
    12-22-2008
    Location
    Vietnam
    Posts
    11
    You're welcome!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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