+ Reply to Thread
Results 1 to 3 of 3

vlookup in macro for multiple columns

  1. #1
    Registered User
    Join Date
    02-25-2016
    Location
    Israel
    MS-Off Ver
    2013
    Posts
    2

    vlookup in macro for multiple columns

    Hi,

    I have a table with about 20 columns with vlookup(all table contains about 40 columns) that take data from also another sheet (other columns are row data). Example :

    =VLOOKUP($CE2,'gl'!$A$2:$Y$21,COLUMN(S1),FALSE)

    Could you please assist me to write these vlookups in macro.



    Thanks in advance

  2. #2
    Registered User
    Join Date
    06-03-2014
    Location
    Brazil
    MS-Off Ver
    Office 365
    Posts
    52

    Re: vlookup in macro for multiple columns

    Quote Originally Posted by haperah View Post
    Hi,

    I have a table with about 20 columns with vlookup(all table contains about 40 columns) that take data from also another sheet (other columns are row data). Example :

    =VLOOKUP($CE2,'gl'!$A$2:$Y$21,COLUMN(S1),FALSE)

    Could you please assist me to write these vlookups in macro.



    Thanks in advance
    Please explain it better, with context, images, anything you can provide, that's too vague to visualize

  3. #3
    Registered User
    Join Date
    02-25-2016
    Location
    Israel
    MS-Off Ver
    2013
    Posts
    2

    Re: vlookup in macro for multiple columns

    Hi,

    Thank you for your reply.
    There are two sheets .
    In sheet "g" there is a table with data.(please find attached)
    In sheet "sheet with vlookup" there is another data .There is 1 common table in both sheets.
    I do vlookup in sheet "sheet with vlookup" in order to pull data from sheet g.
    Finally I have in sheet "sheet with vlookup" row data in addition I have about 20 columns with vlookup sample.PNG
    My goal is to make the vlookup process in macro.

    I hope it's more clear now.

    BR`

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. macro for efficient vlookup with multiple lookup values in the columns to the left
    By ammartino44 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-16-2015, 03:51 PM
  2. [SOLVED] VLookup - Single value lookup returning multiple records into multiple columns
    By kllovin in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-07-2014, 05:14 AM
  3. [SOLVED] VLOOKUP with Multiple Columns
    By cpalmer72 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-29-2014, 01:55 PM
  4. Return multiple columns with vlookup when there are multiple matches
    By elapo21 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-06-2013, 07:11 PM
  5. Macro to vlookup across multiple columns
    By tantcu in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-10-2013, 04:07 PM
  6. Vlookup using multiple columns
    By hanez008 in forum Excel General
    Replies: 4
    Last Post: 08-22-2013, 11:17 AM
  7. Excel 2007 : VLOOKUP over multiple columns
    By 0weavern in forum Excel General
    Replies: 1
    Last Post: 01-21-2011, 07:36 PM

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