+ Reply to Thread
Results 1 to 3 of 3

Vlookup to automatically recognize column to extract from

  1. #1
    Registered User
    Join Date
    01-01-2005
    MS-Off Ver
    2007
    Posts
    368

    Vlookup to automatically recognize column to extract from

    Hi,

    Supose I have the example in the attach file.

    If I try to "insert" a new column between cols "D" and "E" the vlookup results must remain the same.

    How can I do this without changing the formulas?

    Regards,
    Élio
    Attached Files Attached Files
    Last edited by NBVC; 01-06-2010 at 09:49 PM.

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

    Re: Vlookup (Help)

    Try:

    =VLOOKUP(A2,D:E,MATCH("Target",D$1:E$1,0),0)

    or

    =Index(D:E,Match(A2,D:D,0),MATCH("Target",D$1:E$1,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
    01-01-2005
    MS-Off Ver
    2007
    Posts
    368

    Re: Vlookup to automatically recognize column to extract from

    Thanks. I works very well.

    Regards
    Élio

+ 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