+ Reply to Thread
Results 1 to 2 of 2

Macro for Vlookup copy from one column to next one and change column reference

  1. #1
    Registered User
    Join Date
    06-20-2010
    Location
    Brussels, Belgium
    MS-Off Ver
    Excel 2003
    Posts
    1

    Question Macro for Vlookup copy from one column to next one and change column reference

    Hello all,

    I am working as financial analyst with a leading chemical firm in Belgium. I am looking for macro to copy vlookup formula from one column to next one and change the column reference of the vlookup function in this new column. For example if vlookup in the existing formula is getting data from column 7 of the source file. I want to copy this formula to next column and get data from column 8 of the source file.

    Please help

    Thanks

    Rajiv

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Macro for Vlookup copy from one column to next one and change column reference

    Hello Rajiv,

    welcome to the forum.

    Are you specifically after a VBA solution? If the formula is set up right, you can just copy it across.

    =Vlookup(What,LookupRange,column(A7),False)

    This one will return the value from the 7th column of LookupRange. Copied one column across, it will return values from the 8th column.

    If that does not help, post a sample file.

    cheer

+ 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