+ Reply to Thread
Results 1 to 5 of 5

Data from Master File

  1. #1
    Forum Contributor
    Join Date
    12-18-2019
    Location
    chennai
    MS-Off Ver
    excel 2010
    Posts
    141

    Data from Master File

    Hi

    Seeking help for creating VBA code for the below

    See my example file, which is saved in path C:\sample\Master Data\Master Data Jun'20

    I need to retrieve as results of Column L, M,O and Q from my master data.

    Step1

    In current workbook, any worksheet from B6 user type the Column A of my master data
    and from C6 user type the column of B my master data

    Step2
    If column B6 and C6 matches with column A & B of my master data, then from D6,E6,F6 and G6 i need the results of column L, M and Q of my master data.

    The Master data file should be considered as last modified file in the above folder. Since the master data will change frequently.
    B5 to G5 header required from Master data.


    We can do this from Vlookup but i need this master data frequently hence seeking help for VBA code.
    Attached Files Attached Files
    Last edited by ayyappan80; 09-05-2020 at 10:40 PM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: Data from Master File

    Isn't column B unique values?

  3. #3
    Forum Contributor
    Join Date
    12-18-2019
    Location
    chennai
    MS-Off Ver
    excel 2010
    Posts
    141

    Re: Data from Master File

    Hi Davesexcel

    Thanks. Column b in master data is not unique value

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Data from Master File

    This should work (tested)
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    12-18-2019
    Location
    chennai
    MS-Off Ver
    excel 2010
    Posts
    141

    Re: Data from Master File

    thanks Jindon.

    Its working as expected

+ 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. Replies: 3
    Last Post: 05-09-2020, 11:48 AM
  2. [SOLVED] Need to Merge Some Data from One File Into A Master File Based on Data within a Column
    By MermaidNiki in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-05-2017, 07:04 PM
  3. [SOLVED] Excel file with several tabs. Pull data with data range into a master tab on the file
    By TAMMY32 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 08-29-2016, 10:44 AM
  4. Replies: 0
    Last Post: 03-04-2013, 03:40 AM
  5. [SOLVED] Macro - Master file to import data from another open file with variable file name
    By jdodz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-10-2012, 10:56 PM
  6. One Master file to create different-2 file according to master file & save to computer
    By sonu_kumar444 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-22-2012, 06:13 AM
  7. One Master file to create different-2 file according to master file & save to computer
    By sonu_kumar444 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-21-2012, 10:59 AM

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