+ Reply to Thread
Results 1 to 3 of 3

Dragging vlookup across columns

  1. #1
    Registered User
    Join Date
    10-19-2010
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    59

    Dragging vlookup across columns

    Is there a way to have the "col_index_num" change automatically as you copy a lookup across columns?

    =VLOOKUP(A1,Sheet2!$A$1:$D$20,1,false)

    I'd like the 1 reference to change to 2, 2 to 3 and so on as I carry my formula over.

    Thanks
    Last edited by ExcelAteMyHomework; 06-01-2012 at 12:13 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    03-25-2004
    Location
    Boston, MA US
    Posts
    1,094

    Re: Dragging vlookup across columns

    Hi,

    Try,

    =VLOOKUP(A1,Sheet2!$A$1:$D$20,COLUMN(A1),false)

    HTH,

    Steve

  3. #3
    Registered User
    Join Date
    10-19-2010
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    59

    Re: Dragging vlookup across columns

    Wow such an easy fix and I never thought of that lol. Thanks Steve!

+ 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