+ Reply to Thread
Results 1 to 6 of 6

Pulling Data from multiple Sheets into master worksheet

  1. #1
    Registered User
    Join Date
    08-07-2013
    Location
    allentown, pa
    MS-Off Ver
    Excel 2003
    Posts
    3

    Pulling Data from multiple Sheets into master worksheet

    I tried searching in the forum and didn't find any results tending to what I need done in my workbook. I have a workbook with 70 sheets in it, all sheets are the same template so it will make some part of this easier.

    What I need to do is pull data from each individual sheet in Cell !AF167. However each sheet is named something different. On my master worksheet which will summarize everything I have had to manually type in the name of the tab and then I use !AF167. So for example ='Tab1'!AF167 will give me the correct value. I don't however want to do this 70 additional times so is there a formula that I can use that looks at the tab name and then just merges the two together to give me the result desired? Each value from the different sheets will have there own cell, it is not a sum of all of these cells like a consolidate method.


    Thanks for your help in advance!

  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: Pulling Data from multiple Sheets into master worksheet

    1) On the master, but this in B2:

    Tab1

    2) In C2, put this indirect formula:

    =INDIRECT("'" & B2 & "'!AF167")

    That formula will construct the reference indirectly, using the text in cell C2 and the text in quotes within the INDIRECT() function. You string pieces of text together using the & operator.

    3) Add other entried in column B, copy C2 down as needed.
    _________________
    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 Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Pulling Data from multiple Sheets into master worksheet

    @sdgg91

    Why not all data in one sheet (e.g. with an macro).

    After that you can use pivot table to analize the data.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Registered User
    Join Date
    08-07-2013
    Location
    allentown, pa
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Pulling Data from multiple Sheets into master worksheet

    Quote Originally Posted by oeldere View Post
    @sdgg91

    Why not all data in one sheet (e.g. with an macro).

    After that you can use pivot table to analize the data.

    The spreadsheet is already huge, a macro would take a long time and I don't want all of the lines from each tab onto one sheet. Keeping it simple this time!

  5. #5
    Registered User
    Join Date
    08-07-2013
    Location
    allentown, pa
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Pulling Data from multiple Sheets into master worksheet

    Quote Originally Posted by JBeaucaire View Post
    1) On the master, but this in B2:

    Tab1

    2) In C2, put this indirect formula:

    =INDIRECT("'" & B2 & "'!AF167")

    That formula will construct the reference indirectly, using the text in cell C2 and the text in quotes within the INDIRECT() function. You string pieces of text together using the & operator.

    3) Add other entried in column B, copy C2 down as needed.




    This worked brilliantly, just what I was looking for!

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Pulling Data from multiple Sheets into master worksheet

    I've marked this thread as SOLVED for you.
    Next time, select Thread Tools from the links above to mark a thread as SOLVED. Thanks.

+ 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. Pulling Data From Multiple Workbooks/Multiple Sheets into one Master Book
    By LSUARefugee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-13-2013, 12:37 PM
  2. Pulling data from multiple Excel Sheets to a Master
    By BradPhillips in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-30-2013, 08:38 AM
  3. Pulling through certain data from many sheets to a master sheet.
    By Double99 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-30-2009, 02:52 AM
  4. pulling data from a master worksheet
    By MountainGoat in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-06-2008, 11:02 AM
  5. Multiple text sheets into a master worksheet as you enter data
    By Tribe Crazy in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-26-2006, 11:40 AM

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