+ Reply to Thread
Results 1 to 25 of 25

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

Hybrid View

  1. #1
    Registered User
    Join Date
    05-30-2017
    Location
    St Louis, MO
    MS-Off Ver
    2013
    Posts
    43

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

    I think I referenced the wrong row numbers in the last message I sent you (I may have been looking at a different version of the file). I've uploaded two filed here. "PCT download report_mod after macro has run" shows you what I got after I executed the macro. As you can see, I only see one line item from the data sheet per sheet generated. I also uploaded a "manual example of what macro should produce". In this workbook, I sorted the data by name, then pay end date, and then inserted two columns (A & B), where B puts the name and date together for a test name, and A decides whether the line item should go on the same sheet as the record before it, or a new sheet. In this care, there would be 12 sheets created, with 3 sets of line items (rows 14 & 15, rows 21 & 22, and 23 & 24) would be on sheets 4, 10 & 11, respectively. I created all the sheets, but didn't worry about having the correct data on the lower part of the sheets.
    Please let me know if this information is helpful.

    As far as the date is concerned... I am in the United States, and the date format I'm using is mm/dd/yyyy. I'm guessing you're using the European format which is dd/mm/yyyy maybe??? Maybe you see my dates in your format? But the format I've intended for everywhere on my worksheets is
    dd/mm/yyyy. Hope that helps.... Thanks again.

+ 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. 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