Results 1 to 25 of 25

Need macro to copy data from 1 sheet to multiple sheets based on certain criteria

Threaded View

JudyF Need macro to copy data from... 11-03-2017, 01:16 PM
FoxSeaLady Re: Need macro to copy data... 11-04-2017, 09:14 AM
JudyF Re: Need macro to copy data... 11-04-2017, 01:44 PM
Alf Re: Need macro to copy data... 11-04-2017, 04:38 PM
JudyF Re: Need macro to copy data... 11-05-2017, 07:15 PM
Alf Re: Need macro to copy data... 11-06-2017, 02:25 AM
JudyF Re: Need macro to copy data... 11-06-2017, 11:10 AM
Alf Re: Need macro to copy data... 11-06-2017, 01:49 PM
JudyF Re: Need macro to copy data... 11-06-2017, 02:28 PM
Alf Re: Need macro to copy data... 11-06-2017, 04:28 PM
JudyF Re: Need macro to copy data... 11-06-2017, 04:52 PM
Alf Re: Need macro to copy data... 11-06-2017, 05:05 PM
Alf Re: Need macro to copy data... 11-06-2017, 05:13 PM
JudyF Re: Need macro to copy data... 11-06-2017, 06:03 PM
Alf Re: Need macro to copy data... 11-06-2017, 06:31 PM
JudyF Re: Need macro to copy data... 11-06-2017, 08:19 PM
Alf Re: Need macro to copy data... 11-07-2017, 02:30 AM
Alf Re: Need macro to copy data... 11-07-2017, 10:05 AM
JudyF Re: Need macro to copy data... 11-07-2017, 12:07 PM
JudyF Re: Need macro to copy data... 11-07-2017, 12:33 PM
Alf Re: Need macro to copy data... 11-07-2017, 01:32 PM
JudyF Re: Need macro to copy data... 11-07-2017, 01:51 PM
Alf Re: Need macro to copy data... 11-07-2017, 03:53 PM
Alf Re: Need macro to copy data... 11-08-2017, 07:03 AM
JudyF Re: Need macro to copy data... 11-08-2017, 10:34 AM
  1. #1
    Registered User
    Join Date
    05-30-2017
    Location
    St Louis, MO
    MS-Off Ver
    2013
    Posts
    43

    Need macro to copy data from 1 sheet to multiple sheets based on certain criteria

    I have downloaded data which must be transferred onto a form (as shown on "template" tab) in a very specific way.
    I have color coded the fields from the data tab to cells on the template tab, indicating where the data needs to be copied to, and I have indicated the cell reference above each column heading on the data tab as to where it belongs on the templates. The template tab is simply there for reference. I have created 5 tabs so far in this example, from rows 11-17 of the data. The macro will need to create new tabs along the way, with the template layout. The color coding should not be kept when creating new tabs. Each row on the data tab will result in two rows of data on the tabs created by the template. Those two rows will be rows 14 & 15, or below, if there is more than one row of data being copied to the same tab. Each row on the data tab must be entered onto it's own tab, with the following exception:

    After entering data from a row on the data tab to a tab created by the template tab, you may continue using the same tab for the next row of data IF: both "name" (column A on data tab) AND "Pay End Date" (column D on data tab) are equal, from the row you just copied over and the next row, those two rows of data can go on the same tab. For example, on the data tab, name and pay end date are equal in rows 11 and 12. Those may go on the same tab. However, when comparing rows 12 and 13, even though name is the same, because pay end date isn't the same, that row of data must go on it's own tab.
    Every new tab will have data in rows 14 & 15. Row 15 will be copied from the data tab. Row 14 will be referencing the row below but be negative.

    I created the first 5 tabs as an example for data in rows 11-17 of the data tab. There could be a few hundred lines of data and that is why I want to write a macro to do this.
    Tabs should be named with their pay end date and name initials, if possible. If this is too difficult, then sheet1, sheet2 or anything else is fine.

    Any help would be greatly appreciated.
    Attached Files Attached Files
    Last edited by JudyF; 11-03-2017 at 01:54 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Copy Data from multiple sheets based on criteria in a column and paste to master log.
    By Jsonic5280 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-11-2016, 03:55 PM
  2. Replies: 2
    Last Post: 01-23-2016, 01:16 PM
  3. [SOLVED] Macro to Copy Rows to new sheet based on Multiple Criteria
    By ecubersax in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-07-2015, 01:07 AM
  4. [SOLVED] VBA Code to copy different data from one sheet to multiple sheets based on criteria
    By eharwood in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-08-2014, 02:22 PM
  5. [SOLVED] Need Macro that arranges data from one sheet onto other sheets based on criteria
    By sephus730 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-12-2013, 07:22 PM
  6. Search multiple sheets for value based on criteria and copy data accordingly
    By Zagadka in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-31-2012, 08:46 AM
  7. Copy data from multiple sheets based on certain criteria!!
    By missyk77 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-24-2010, 12:05 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