+ Reply to Thread
Results 1 to 2 of 2

Copy Data From Master Sheet into Separate Sheet Based on Value found in Master Sheet

  1. #1
    Registered User
    Join Date
    06-13-2012
    Location
    Philadelphia
    MS-Off Ver
    Excel 2007
    Posts
    32

    Copy Data From Master Sheet into Separate Sheet Based on Value found in Master Sheet

    Hello,

    I was hoping that someone could help me with figuring out how to write the following code:

    I currently have a master tab that populates a sheet name in cell C5 based on inputs that are found within that sheet. That value in C5 is the name of one of the sheets found in the file. This value can be one of 80 different values, so there are 80 different sheets; one for each value. I need the macro to essentially see the value found in C5 and then copy data in cells B9:E9 and paste it into the worksheet that matches cell C5, starting on cell B9.

    If the macro sees a value already in cell B9, then it would go down to the next blank row (B10 in this case or if B10 had data, then B11, etc.) and paste it there.

    I have been trying to look throughout the forum to see if anybody else has asked this, but no luck. Any help would be greatly appreciated!

    Thanks,

    Chris

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,884

    Re: Copy Data From Master Sheet into Separate Sheet Based on Value found in Master Sheet

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. [SOLVED] Macro to copy data from a master sheet to separate sheet as per date using a macro
    By tmaster81 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-23-2014, 08:05 AM
  2. Replies: 2
    Last Post: 05-01-2013, 12:26 PM
  3. Macro to copy data from master sheet if match is found
    By shraddha5 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 02-08-2013, 02:17 AM
  4. [SOLVED] Search for heading in data sheet and copy range to corresponding sheet in master workbook
    By sans in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-07-2012, 10:02 AM
  5. [SOLVED] How to copy data from master list sheet to another sheet based on category
    By nazrulfadzli in forum Excel General
    Replies: 2
    Last Post: 05-17-2012, 08:19 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