+ Reply to Thread
Results 1 to 5 of 5

Formula referencing to a cell with same name as a Tab

  1. #1
    Registered User
    Join Date
    08-10-2012
    Location
    Maine
    MS-Off Ver
    Excel 2010
    Posts
    36

    Question Formula referencing to a cell with same name as a Tab

    I'm looking to get my Formula to reference a cell that has the same name as a Tab that has the info i need for the week. If there is an easier way please share.

    UPLOAD Roster 2013.xlsm

  2. #2
    Registered User
    Join Date
    08-06-2012
    Location
    Perth, Western Australia
    MS-Off Ver
    Mac 2011 & Windows 2010
    Posts
    5

    Re: Formula referencing to a cell with same name as a Tab

    Can use the INDIRECT() Function:

    e.g. =SUM(INDIRECT("'"&CellWithTabName&"!Range'")

    where
    CellWithTabName is the cell that has the same name as your Tab
    Range = Range on the sheet you want to sum (i.e. something like A1:A5, or a named range on that sheet)

  3. #3
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: Formula referencing to a cell with same name as a Tab

    Using INDIRECT will be easier if you sort your tab names out, as they're currently inconsistent.

    By renaming '1-5-13' to '1-5-2013' I used this formula in G2, copied down and across:

    =INDIRECT("'" & TEXT(G$1,"d-m-yyyy") &"'!$Z$" & ROW()+16)

  4. #4
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Formula referencing to a cell with same name as a Tab

    Use the Indirect function. This will get the Tab name from cell O1

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    08-10-2012
    Location
    Maine
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Formula referencing to a cell with same name as a Tab

    This worked Perfect!!
    Thank You!

    Quote Originally Posted by AlphaFrog View Post
    Use the Indirect function. This will get the Tab name from cell O1

    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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