+ Reply to Thread
Results 1 to 4 of 4

Lookup values from several different worksheets

  1. #1
    Registered User
    Join Date
    07-25-2011
    Location
    Los Angeles
    MS-Off Ver
    Excel 2003
    Posts
    11

    Lookup values from several different worksheets

    Hi all,

    I have been trying to do something for the past while and am unable to come up with anything that works...

    I have about 50 different worksheets in a spreadsheet and want to grab a single value out of all of them and put them into a row on a single worksheet. The worksheets are named "1", "2", "3" etc...and the value that I want to look up is in the same cell for each worksheet (lets just say A1).

    I have been briefly messing around with a macro to accomplish the task, but am unable to get the macro to look up a different worksheep each time it pulls the data.

    Anybody have any ideas/tips?
    Last edited by gunerstahl; 08-15-2011 at 06:42 PM.

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Lookup values from several different worksheets

    Sure use a nested for next loop:
    Please Login or Register  to view this content.
    If your question has been satisfactorily addressed, please consider marking it solved. Click the Thread Tools dropdown and select Mark thread as solved.
    Also, you might want to add to the user's reputation by clicking the star icon in the lower left corner of the post with the answer- it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

  3. #3
    Registered User
    Join Date
    07-25-2011
    Location
    Los Angeles
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Lookup values from several different worksheets

    Works Perfectly! Thank you!

  4. #4
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Lookup values from several different worksheets

    Glad I could help. Please mark the post solved, and if you're so inclined, you can add to my reputation by clicking the scales icon.

    Regards,
    Tom

+ 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