+ Reply to Thread
Results 1 to 12 of 12

Combining Selected Sheets into One Sheet

  1. #1
    Registered User
    Join Date
    05-01-2018
    Location
    Australia
    MS-Off Ver
    Office 365
    Posts
    7

    Combining Selected Sheets into One Sheet

    I need to combine selected selected sheets from my workbook into one sheet. Let's call the Stock Sheet 1, Stock Sheet 2 and Master Sheet. I want to list all the rows from Stock Sheet 1 and Stock Sheet 2 in one long list on the Master Sheet. The column headings are all the same, but the number of rows will change from time to time. There are other sheets in the workbook that I do not want to copy into the Master Sheet, so I will have to define which sheets to copy. Can anyone help me with this?

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,815

    Re: Combining Selected Sheets into One Sheet

    Are the column headers also the same in the Master sheet?
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Combining Selected Sheets into One Sheet

    ElishaRoxanne,

    Absolutely we can help with this

    Would the "combined" sheet be a new sheet? or do you want to add the data from 2 of your sheets to the 3rd one? Ideally, upload a sample workbook:

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  4. #4
    Registered User
    Join Date
    05-01-2018
    Location
    Australia
    MS-Off Ver
    Office 365
    Posts
    7

    Re: Combining Selected Sheets into One Sheet

    Yes, I will have the same headers in the master sheet. I would be incredibly grateful for any assistance with this one!

  5. #5
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,815

    Re: Combining Selected Sheets into One Sheet


  6. #6
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,815

    Re: Combining Selected Sheets into One Sheet

    Try:
    Please Login or Register  to view this content.
    Add the additional sheets you want to copy in the array.

  7. #7
    Registered User
    Join Date
    05-01-2018
    Location
    Australia
    MS-Off Ver
    Office 365
    Posts
    7

    Re: Combining Selected Sheets into One Sheet

    Thanks Arkadi. I have created a sample of what I am after but the attachments icon does not seem to be working for me. I'll keep trying.

    Mumps1, thank you for pointing out the rules. I'll remove my post from Ozgrid.

  8. #8
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Combining Selected Sheets into One Sheet

    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    05-01-2018
    Location
    Australia
    MS-Off Ver
    Office 365
    Posts
    7

    Re: Combining Selected Sheets into One Sheet

    Thanks Arkadi and Mumps1. Unfortunately neither of these are working for me. I have attached a sample of what I am trying to achieve. I have just copied and pasted the sections of the sheets I need into the summary page, but I would like this to happen automatically when I hit the macro button I have inserted.
    Attached Files Attached Files

  10. #10
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Combining Selected Sheets into One Sheet

    It is not clear to me what exactly isn't working, aside from the fact (as my notes said) the column needs to change. Also, instead of looking below row 1, we needeed to change that to 2, and copy from 3 down... Your example has removed the column G data from Summary... there is an optional line you can un-comment to clear that data.
    Paste the code in a module, then right click your button, select "Assign Macro" and choose the macro you just put in a module:

    Please Login or Register  to view this content.
    I changed to pastespecial to avoid copying the formatting, and to convert the formula result in col G to a value, but we can change that if needed.
    Last edited by Arkadi; 05-01-2018 at 12:05 PM.

  11. #11
    Registered User
    Join Date
    05-01-2018
    Location
    Australia
    MS-Off Ver
    Office 365
    Posts
    7

    Re: Combining Selected Sheets into One Sheet

    It works. Thank you very much Arkadi!

  12. #12
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Combining Selected Sheets into One Sheet

    Glad I could help you

    Please remember to mark the thread as solved when you have a moment! Thanks in advance

+ 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. Combining all Sheets to one Master Sheet
    By curtiswheat in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-01-2016, 10:10 AM
  2. Combining various sheets excel into one sheet...
    By sourabhg98 in forum Excel General
    Replies: 1
    Last Post: 02-03-2016, 10:35 AM
  3. [SOLVED] Merging selected sheets with selected columns into another sheet
    By harry_1805 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-24-2013, 01:51 PM
  4. Combining selected sheets only in one "all data" sheet
    By tabfri in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-29-2012, 11:49 AM
  5. Combining Two Sheets into a Third Sheet?
    By clarku19 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 09-16-2011, 11:26 PM
  6. Combining some sheets into another sheet
    By simjambra in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-11-2010, 08:29 AM
  7. Combining multiple sheets onto one sheet
    By rwab in forum Excel General
    Replies: 4
    Last Post: 02-16-2009, 01:21 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