+ Reply to Thread
Results 1 to 5 of 5

Consolidating data from various worksheets into a consolidated worksheet

  1. #1
    Registered User
    Join Date
    12-18-2017
    Location
    Manchester
    MS-Off Ver
    2010
    Posts
    2

    Consolidating data from various worksheets into a consolidated worksheet

    Hi All,
    I am new to VBA code and was hoping you could potentially help. I have seen a few threads on here regarding consolidating data onto one worksheet from various tabs but none quite fit the bill.
    Essentially I am looking to consolidate data from various tabs. The steps would be as follows:
    • Take data from column A to V from various tabs and consolidate on one worksheet – the column structure will be static
    • Name new consolidated tab as data
    • Ignore rows that do not have data in column A, B OR C. So even if there is no data in just one column, it does not consolidate
    • Ignore certain worksheets i.e. within the workbook I will have sheets that are irrelevant to consolidation – this may require renaming worksheets to make it easier, which I can do. Potentially with a full stop suffix?
    • The headings on the consolidated tab will need to match the headings on the worksheets it is pulling from
    • Loop so it can be performed and it will delete the old consolidated data tab and replace with a new one, with updated data
    Some challenges are the number of rows and the ordering of the codes in column A – C can alter frequently (i.e. move up and down on the row numbers, so they not static on each sheet but columns are) – I don’t know if this poses the biggest challenge. The rows may vary in the number - some sheets may have 20, some may have 200.
    Help would be hugely appreciated.
    Thank you in advance

  2. #2
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: Consolidating data from various worksheets into a consolidated worksheet

    Hi Irico

    Welcome to the forum.
    Try to upload a sample workbooks that should show up the required results manually. Try to desensitize the data and keep the example as simple as possible.

    To attach a file, click Go Advanced below the text edit window, scroll down and click the Manage Attachments link, browse to the required file, and then push the Upload button, then Close Window to return to your post.
    Teach me Excel VBA

  3. #3
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Consolidating data from various worksheets into a consolidated worksheet

    Hi

    You can try using the Data Consolidating where you can add all ranges and select the consolidate function.

    See the menu data for that.

  4. #4
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Consolidating data from various worksheets into a consolidated worksheet

    See how next code can help
    It has been added an extra sheet "User" where to put your constants
    Please Login or Register  to view this content.
    Attached Files Attached Files
    - Battle without fear gives no glory - Just try

  5. #5
    Registered User
    Join Date
    12-18-2017
    Location
    Manchester
    MS-Off Ver
    2010
    Posts
    2

    Re: Consolidating data from various worksheets into a consolidated worksheet

    Hi All,

    Thanks for the responses. PCI - that is great - that was what I was looking for.

+ 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. Copy data from different worksheets to one consolidated file
    By amielb in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-23-2014, 04:31 PM
  2. need to extract data from several worksheets to a consolidated worksheet.
    By keyboardwarrior in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-14-2014, 02:03 AM
  3. Macro copy data range from individual worksheets to new rows in consolidated worksheet
    By bushpotato in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2013, 01:24 AM
  4. Pick out particular cells from various worksheets into a consolidated worksheet
    By swiftus in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-26-2013, 03:17 PM
  5. [SOLVED] Consolidated data from 3 worksheets and populate to another sheets
    By uky in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 03-21-2013, 10:23 PM
  6. [SOLVED] Consolidating "Select Worksheets" in a Workbook into a Consolidated Worksheet
    By tecmkr in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-25-2012, 12:53 PM
  7. Consolidating Data From 16 Worksheets Into 1 Master Worksheet
    By moconnor in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-30-2012, 03:26 PM

Tags for this Thread

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