+ Reply to Thread
Results 1 to 15 of 15

Consolidate text data from multiple tabs into one table

  1. #1
    Registered User
    Join Date
    01-31-2013
    Location
    Denver
    MS-Off Ver
    Excel 2010
    Posts
    8

    Consolidate text data from multiple tabs into one table

    I have 5 tabs that will update automatically on a weekly basis, based on weekly updates from XML files. The data range (rows) will grow in each of the 5 tabs on a weekly/daily basis. The columns in all tabs have the same heading and will remain the same throughout.

    I want to get the info on all 5 tabs into one table on a separate tab that I sort and manipulate.

    I could do this with formulas if my range wasn't constantly changing, but don't know how to do it with a moving range.

    Please help. Thanks

  2. #2
    Registered User
    Join Date
    08-08-2012
    Location
    Derby, England
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Consolidate text data from multiple tabs into one table

    why not do it as a macro, then each time you can get it to copy your dataset without knowing the size.
    01010010 01110101 01110100 01101000

  3. #3
    Registered User
    Join Date
    01-31-2013
    Location
    Denver
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Consolidate text data from multiple tabs into one table

    I am really good at formulas in excel but don't know how to use or set up macro's. Based on my research, I thought using macros would be the answer, but I am having a hard time learning how to do them.

    Though, now that you have confirmed that is a possible solution, I will dig into it more.

  4. #4
    Registered User
    Join Date
    08-08-2012
    Location
    Derby, England
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Consolidate text data from multiple tabs into one table

    if you want to post your sheet i could look at writing one for you

  5. #5
    Registered User
    Join Date
    01-31-2013
    Location
    Denver
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Consolidate text data from multiple tabs into one table

    See attached. Currently only Volume 6 and Volume 8 have data in them. The rest of the tabs do reference my XML files, but as of yet, no data in them, but they will follow the same format as 6&8
    Attached Files Attached Files
    Last edited by neversummer515; 01-31-2013 at 10:25 AM.

  6. #6
    Registered User
    Join Date
    08-08-2012
    Location
    Derby, England
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Consolidate text data from multiple tabs into one table

    NTP Procurement Log_Ruth.xlsm

    Have a look at this

    I have put the code in for the two sheets currently populated and given instructions on what to do to add more sheets.

    Press Alt+F11 to get into the code

    Let me know if you need any more help

    Ruth

  7. #7
    Registered User
    Join Date
    01-31-2013
    Location
    Denver
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Consolidate text data from multiple tabs into one table

    I am not seeing the data output. I can get to your code, but I don't actually see the table. I have enabled macros.

  8. #8
    Registered User
    Join Date
    08-08-2012
    Location
    Derby, England
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Consolidate text data from multiple tabs into one table

    Where you see the code, press the play button at the top or press f5.

    You can set up a button on your sheet too

  9. #9
    Registered User
    Join Date
    01-31-2013
    Location
    Denver
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Consolidate text data from multiple tabs into one table

    Thank you. That seems to be working. I am running into some additional issues with the output, but let me do some testing. Thanks again

  10. #10
    Registered User
    Join Date
    01-31-2013
    Location
    Denver
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Consolidate text data from multiple tabs into one table

    How do I get the table to clear prior to it running everytime. Right now it seems to just add on to the end each time it runs.

  11. #11
    Registered User
    Join Date
    08-08-2012
    Location
    Derby, England
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Consolidate text data from multiple tabs into one table

    After the Dim line add these three

    Please Login or Register  to view this content.

  12. #12
    Registered User
    Join Date
    01-31-2013
    Location
    Denver
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Consolidate text data from multiple tabs into one table

    Thanks again. So to run this macro, do I need to hit the Alt F11 everytime and go in and run it, or you said I could build a button to run it. Can you give me the quick and dirty on that? Thanks

  13. #13
    Registered User
    Join Date
    08-08-2012
    Location
    Derby, England
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Consolidate text data from multiple tabs into one table

    NTP Procurement Log_Ruth2.xlsm

    I have added it for you (sheet 1 Q1 approx). I'm not overly familiar with excel 2010 but in 2007 you go to developer, insert then click button. you draw your button then choose the macro to add in it

    Ruth

  14. #14
    Registered User
    Join Date
    01-31-2013
    Location
    Denver
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Consolidate text data from multiple tabs into one table

    Thanks again!!!

  15. #15
    Registered User
    Join Date
    08-08-2012
    Location
    Derby, England
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Consolidate text data from multiple tabs into one table

    No worries. Anytime

+ 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