+ Reply to Thread
Results 1 to 4 of 4

Collect data from other tab

  1. #1
    Registered User
    Join Date
    10-13-2009
    Location
    Stavanger
    MS-Off Ver
    Excel 2010
    Posts
    18

    Collect data from other tab

    Hi

    I am trying to collect various data from different tabs into one main page (tab). This is obviously done by adding a note; 'sheet1'! in front of the reference.
    What I would like to have as an option is to write the name of the tab I want to collect data from in a cell and based on that collect data from the corresponding tab. For example if I write Sheet5 in cell A1 I want cell A2 to collect data from a cell in the tab named Sheet5.
    Thank you.
    Last edited by saslotteroy; 10-16-2011 at 04:02 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,376

    Re: Collect data from other tab

    Something like:

    =INDIRECT("'"&A1&"'!"&"E1")

    returns the value in cell E1 on the sheet named in cell A1

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    10-13-2009
    Location
    Stavanger
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Collect data from other tab

    Thanks! This was exactly what I was looking for

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,376

    Re: Collect data from other tab

    You're welcome.

+ 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