Excel for Mac: Combine multiple sheets into one

yichuansancun

Board Regular
Joined
Feb 7, 2011
Messages
123
Hello -

I have a workbook that have multiple sheets. The sheets have the same data structure. How do I combine them into one without doing copy and paste? I tried using consolidate, but consolidate does aggregate on the values. In my case, I don't need to do any aggregation. It is all text. I simple just want all the data to be one the same sheet.

Thanks,
Perri
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Would you accept vba?
Given that all sheets are similar (number of columns and header), how many sheets would you want to combine?
 
Upvote 0
Would you accept vba?
Given that all sheets are similar (number of columns and header), how many sheets would you want to combine?

I prefer no VBA :P
there are 10 sheets. I found ASAP excel add-in may do the job but it is not available on mac :(
 
Upvote 0
I prefer no VBA :P
there are 10 sheets. I found ASAP excel add-in may do the job but it is not available on mac :(
Noted, sorry I am not sure that a formula would give you better results than a vba or vba based solution. Maybe other MAC users on this forum might have a better idea.
 
Upvote 0
How many sheets would you wish to merge?

6 sheets into 1.

Ideally I would want Sheet2 through Sheet7 merged into my "Summary" sheet (all the same headers) and then have that information sorted by Date and Time (column A and C) moving all blanks to the bottom.

I posted my question here in the forum but havent gotten a response so I started looking at what other people did and try to reverse-engineer it for myself, which led me to here.
 
Upvote 0
Noted, not in front of my computer, will get back to you with proposal, can't type from my phone...
 
Upvote 0
Given that each sheet contains the same number of Column and same header.

Code is:
Code:
Sub Populate()    Range(Range("A2"), Range("A2").End(xlToRight).End(xlDown)).ClearContents
    
    Sheets("[COLOR=#574123]Sheet2[/COLOR]").Select
        Range(Range("A2"), Range("A2").End(xlToRight).End(xlDown)).Copy
    Sheets("[COLOR=#0000FF]Summary[/COLOR]").Select
        Range("A2").Select
            ActiveSheet.Paste
            
    Sheets("[COLOR=#574123]Sheet3[/COLOR]").Select
        Range(Range("A2"), Range("A2").End(xlToRight).End(xlDown)).Copy
    Sheets("[COLOR=#0000FF]Summary[/COLOR]").Select
        Range("A2").End(xlDown).Offset(1, 0).Select
            ActiveSheet.Paste
    
    Sheets("[COLOR=#574123]Sheet4[/COLOR]").Select
        Range(Range("A2"), Range("A2").End(xlToRight).End(xlDown)).Copy
    Sheets("[COLOR=#0000FF]Summary[/COLOR]").Select
        Range("A2").End(xlDown).Offset(1, 0).Select
            ActiveSheet.Paste
    
  Sheets("[COLOR=#574123]Sheet5[/COLOR]").Select
        Range(Range("A2"), Range("A2").End(xlToRight).End(xlDown)).Copy
    Sheets("[COLOR=#0000ff]Summary[/COLOR]").Select
        Range("A2").End(xlDown).Offset(1, 0).Select
            ActiveSheet.Paste
    
Sheets("[COLOR=#574123]Sheet6[/COLOR]").Select
        Range(Range("A2"), Range("A2").End(xlToRight).End(xlDown)).Copy
    Sheets("[COLOR=#0000FF]Summary[/COLOR]").Select
        Range("A2").End(xlDown).Offset(1, 0).Select
            ActiveSheet.Paste

Sheets("[COLOR=#574123]Sheet7[/COLOR]").Select
        Range(Range("A2"), Range("A2").End(xlToRight).End(xlDown)).Copy
    Sheets("[COLOR=#0000FF]Summary[/COLOR]").Select
        Range("A2").End(xlDown).Offset(1, 0).Select
            ActiveSheet.Paste


    Application.CutCopyMode = False
End Sub
Create a button.
Assign macro.
Click on said button to populate data in sheet Summary
 
Upvote 0

Forum statistics

Threads
1,214,980
Messages
6,122,563
Members
449,088
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top