+ Reply to Thread
Results 1 to 3 of 3

Include contents of adjacent cell in a formula as the sheet name?

  1. #1
    Registered User
    Join Date
    09-17-2012
    Location
    South Wales, UK
    MS-Off Ver
    Excel 2003
    Posts
    51

    Include contents of adjacent cell in a formula as the sheet name?

    I thought I knew quite a bit on Excel, but you guys keep blowing my mind with what you know.

    Here's another one for you then:

    On Sheet1, I have a column listing the sheet names (around 30 rows) and want to show, say, cell A1 from each other sheet next to their corresponding sheet name on Sheet1.

    Sheet names
    AAA =('AAA'!A1)
    BBB =('BBB'!A1)
    CCC =('CCC'!A1)
    DDD =('DDD'!A1)
    EEE =('EEE'!A1)
    FFF =('FFF'!A1)

    Is there an easier way of entering the sheet name into the formula to save me typing each sheet name into it?

    Many thanks
    David.
    Last edited by essee; 10-29-2012 at 11:15 AM.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Include contents of adjacent cell in a formula as the sheet name?

    hi David. try:
    =INDIRECT(A1&"!A1")

    if there are spaces in your filename, then:
    =INDIRECT("'"&A1&"'!A1")

    that's assuming your data is in A1. then drag down the formula

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    09-17-2012
    Location
    South Wales, UK
    MS-Off Ver
    Excel 2003
    Posts
    51

    Re: Include contents of adjacent cell in a formula as the sheet name?

    You are the man! Works perfectly.

    Many thanks from the UK!

+ 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