+ Reply to Thread
Results 1 to 6 of 6

Consolidate data from multiple sheet to one sheet

  1. #1
    Registered User
    Join Date
    05-28-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    41

    Consolidate data from multiple sheet to one sheet

    Hello,

    I have attached sample spreadsheet, In the spreadsheet you can find multiple sheets, I need to consolidate all the data in final sheet.

    Eg: Sheet1 to sheet5 please do not consider, From sheet KY9374 to sheet KZ1768 we need to consolidate in final sheet.

    Header details are common in all the sheets, we need to copy data from sheet KY9374 with header, then sheet KU7991 data without header, then KW8660 data without header etc.,

    Here if you see in sheet KY9374 we have only one line item so we can copy that one line item and paste in final sheet and then it should go to sheet KU7991 and it should copy the details(excluding header), here we have eight line items( you can see that in x column) so it should copy the 8 line item and paste in final sheet from 3nd (A3)row.

    then it should go to sheet KW8660 and it should copy the details(excluding header), here we have 22 line items, it should copy all the data and it should paste in 11th (A11) row of final sheet

    Similarly it should copy all the data from all sheets and paste in final sheet,

    Finally the worksheet should carry sheet1 to sheet5 and final sheet the other sheets can be deleted or it can be hidden.

    For this I need a macro please help me…
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Consolidate data from multiple sheet to one sheet

    This is a pretty common thing.

    'MANY SHEETS TO ONE SHEET
    Here's a macro for merging data from multiple sheets into a "consolidation" sheet where the source sheets are the same layout.There's a sample file there, too, to make it easy to try it out.

    You'll just need to tweak the parts in red to match your environment.
    Last edited by JBeaucaire; 12-27-2019 at 04:56 AM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    05-28-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    41

    Re: Consolidate data from multiple sheet to one sheet

    Hi Jerry,

    I am new to macro coding and i find very difficult to execute the below code, when I execute the below code only 1st line item of each sheets are pulled in final sheet but my requirement was different if you read my post # 1 fully u can understand my exact requirement, please help me on this..

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    06-26-2013
    Location
    Northern Ireland
    MS-Off Ver
    Excel 2003, 07, 10
    Posts
    92

    Re: Consolidate data from multiple sheet to one sheet

    I'm also having the same problem but I need to merge specific sheets and not all the sheets in my workbook

  5. #5
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Consolidate data from multiple sheet to one sheet

    boom,
    Please start your own thread!
    Attach a sample and I will help you.

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Consolidate data from multiple sheet to one sheet

    Some changes you'd need to make, first to skip sheets named "SheetX" and then a change to the way you note the LR and the NR and the copy range.

    Please Login or Register  to view this content.

+ 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