+ Reply to Thread
Results 1 to 10 of 10

Retrieving data from multiple sheets and copying to a new sheet

  1. #1
    Registered User
    Join Date
    06-14-2012
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2007
    Posts
    17

    Retrieving data from multiple sheets and copying to a new sheet

    Hi,

    I have a several files that contains multiple worksheets with different names, but Data forms in those worksheets are the same. See attached example.
    I need to retrieve from given data in all worksheets information in following order:

    Date ID Overall work hours Code Details (if column is not blank)


    Please help me with some advise how to do it in non manual mode!
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Retrieving data from multiple sheets and copying to a new sheet

    It will be good if you upload a sample output file showing how you want the output to look like.

    Also, are the files all stored in 1 folder?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    06-14-2012
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Retrieving data from multiple sheets and copying to a new sheet

    Output is sheet "Results from sheet 12" - this is how info should be retrieved from sheet named "12".

    And yes, files are stored in 1 folder.

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Retrieving data from multiple sheets and copying to a new sheet

    There is no sheet named "Results from sheet 12".

  5. #5
    Registered User
    Join Date
    06-14-2012
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Retrieving data from multiple sheets and copying to a new sheet

    Sorry,

    maybe some mistake, I added a new one.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    06-14-2012
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Retrieving data from multiple sheets and copying to a new sheet

    Dear members is there no suggestions for solution?

  7. #7
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Retrieving data from multiple sheets and copying to a new sheet

    So if i understand your output sheet correctly, only those IDs where Overall work hours are populated are included, right?

    How do you get data in columns D & E? Which columns in sheet (12) are filtered?

  8. #8
    Registered User
    Join Date
    06-14-2012
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Retrieving data from multiple sheets and copying to a new sheet

    Yes, you're right about first one.

    About columns D&E in output sheet - I filtered by columns G&L which are below merged cell "Details". Main thing is if user has filled "overall work hours" there must be details about his work. Then i just manually took code information and job details.

  9. #9
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Retrieving data from multiple sheets and copying to a new sheet

    Do you first filter on G for non-blanks and then filter on L?

  10. #10
    Registered User
    Join Date
    06-14-2012
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Retrieving data from multiple sheets and copying to a new sheet

    Yes, I filter first on G for non blanks and then one by one till L, cause details are not always the same for all workers.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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