+ Reply to Thread
Results 1 to 5 of 5

Macro code to do Vlookup from two work sheets-reg

  1. #1
    Forum Contributor
    Join Date
    10-31-2013
    Location
    india
    MS-Off Ver
    Excel 2019
    Posts
    147

    Macro code to do Vlookup from two work sheets-reg

    Dear Team

    I have attached excel workbook named Test having three worksheets FINAL, LEAVE AND ABSENT

    I want data from Column B of Leave Worksheet and Absent Worksheet to be populated in Column B of Final Worksheet

    Kindly give me a macro code.

    Sample data is attached for your reference

    Thanks and Regards
    Attached Files Attached Files

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,888

    Re: Macro code to do Vlookup from two work sheets-reg

    This macro assumes sheet FINAL starts out with only the headers and no data.
    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Forum Contributor
    Join Date
    10-31-2013
    Location
    india
    MS-Off Ver
    Excel 2019
    Posts
    147

    Re: Macro code to do Vlookup from two work sheets-reg

    Thanks for your feedback Working fine

    Can this be done using Vlookup through macro

    Anyone can help me on this

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,888

    Re: Macro code to do Vlookup from two work sheets-reg

    Just curious. If the macro is working for you, why would you want another macro using Vlookup?

  5. #5
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,505

    Re: Macro code to do Vlookup from two work sheets-reg

    Here is formula solution...
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Good Luck...
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

+ 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. vlookup to other sheets in the work book
    By matt_c_l in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-15-2017, 04:16 PM
  2. Macro does not work on all spread sheets. May need to create new VBA Code.
    By Dariusd7 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-03-2013, 12:12 PM
  3. [SOLVED] Looking for the Code for my Macro to unprotect my work sheets
    By Inez15 in forum Excel General
    Replies: 4
    Last Post: 12-06-2012, 05:19 PM
  4. Macro to collate data from different work books and different work sheets
    By bvdileep in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-04-2012, 05:34 AM
  5. vlookup from two separate sheets in work book
    By pinkclouds in forum Excel General
    Replies: 1
    Last Post: 09-12-2010, 01:27 PM
  6. Vlookup from 3 different work sheets
    By james.halliwell in forum Excel General
    Replies: 6
    Last Post: 11-25-2009, 05:08 PM
  7. [SOLVED] VLOOKUP in 4 work sheets
    By MESTRELLA29 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-29-2006, 03:35 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