+ Reply to Thread
Results 1 to 8 of 8

To consolidate selected data from other tabs

  1. #1
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Pune
    MS-Off Ver
    Office 365 (Win 10)
    Posts
    489

    To consolidate selected data from other tabs

    Hi,
    I need to consolidate some of the data (column D,J & K) from other tabs to the first tab.
    The macro should copy all non empty cells of column-D till the end and copy the respctive cells of J&K and then paste it to consolidated tab. This activity should be done for all the tabs

    It will be great, if you can give the links to the source row also in the consolidated tab


    Attaching the file

    Macro.xlsx
    Please make the Post as solved, when you get your answer & Click * if you like my suggestion

  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: To consolidate selected data from other tabs

    1) RIght-click the Consolidated tab and select VIEW CODE to open the sheet module
    2) Paste in the activation code:
    Please Login or Register  to view this content.
    3) Save your workbook as a .xlsm file so the macro is preserved.

    4) To use the macro simply switch to any other sheet and back the to Consolidated sheet. Every time you "activate" this sheet it will repopulate itself.
    _________________
    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
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: To consolidate selected data from other tabs

    You may also try this.....
    Place the below code on a Standard Module.

    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  4. #4
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Pune
    MS-Off Ver
    Office 365 (Win 10)
    Posts
    489

    Re: To consolidate selected data from other tabs

    Hi,
    Thanks for the reply...


    I have used the first code, but need some modifications in that if you dont mind.


    In that, I want to get it pasted as values... and I wanted a hyper link,(may be like in the example) so that, user can easily go to that particular row, from where the data got copy pasted

    And in the current formula, it is selecting a range in the consolidated tab. I would like that to go to 1st cell of the selected range.

    Root Cause Analysis.xlsm

  5. #5
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Pune
    MS-Off Ver
    Office 365 (Win 10)
    Posts
    489

    Re: To consolidate selected data from other tabs

    Anybody.. please...

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: To consolidate selected data from other tabs

    Please find the attached sheet and see if this is what you are trying to achieve?
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Pune
    MS-Off Ver
    Office 365 (Win 10)
    Posts
    489

    Re: To consolidate selected data from other tabs

    Wow.. this is exactly what i wanted.. thanks for the help

  8. #8
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: To consolidate selected data from other tabs

    You're welcome. Glad to help.

+ 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. [SOLVED] Loop through tabs in a workbook to consolidate data
    By amartin575 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-09-2013, 11:23 AM
  2. Consolidate text data from multiple tabs into one table
    By neversummer515 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 02-01-2013, 05:52 PM
  3. Filter Data on Multiple Tabs based on Selected Data
    By MAshleigh in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-16-2012, 02:17 PM
  4. Replies: 12
    Last Post: 09-20-2011, 08:52 PM
  5. VB Code to Consolidate data from different files / tabs
    By tt388 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-29-2011, 11:53 AM

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