+ Reply to Thread
Results 1 to 6 of 6

Thread: trying to retrieve cell TEXT not formula

  1. #1
    Registered User
    Join Date
    07-01-2008
    Location
    Maple Ridge, Canada
    Posts
    3

    trying to retrieve cell TEXT not formula

    Hi,

    I am looking for a way to refererence the text of another cell, not the formula that it contains.

    I have a workbok that has 5 worksheets. On the first worksheet, a certain cell (lets say A1 for simplicty) uses the function:UPPER(MID(CELL("filename"),( FIND("]",CELL("filename"))+1),50))
    to retrieve the title of the worksheet. (ie, A1 now serves as a title cell, matching the name of the worksheet).

    My problem is, on the following four worksheets, I also want A1 to reflect the contents of the first worksheet's A1. I've tried using =Worksheet!A1, and =CELL("contents", Worksheet1!A1), and so forth, but my problem is, it reflects the formula of A1, not the returned value of the formula (the title). Initially, it works, but if I recalculate the cells on the four worksheets, it changes them all to the title of the current worksheet, not the first worksheet.

    Is there a formula that I can use to retrieve the TEXT and not the formula?

    Thanks

    JP

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    11,351
    This worked for mean showing SHEET1, SHEET2 and SHEET3 on the appropriate sheets.

    =UPPER(MID(CELL("filename",A1),( FIND("]",CELL("filename",A1))+1),50))
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    07-01-2008
    Location
    Maple Ridge, Canada
    Posts
    3
    I don't want to show Sheet1 on sheet 1, Sheet2 on Sheet 2, and so forth, I'm looking to show the title of Sheet1 on ALL sheets (Sheet1!A1, Sheet2!A1, Sheet3!A1, etc).

  4. #4
    "Eagle Eyed" Forum Moderator oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Work) and 2007 (Home)
    Posts
    7,130
    Hi,

    Do you mean this?
    Attached Files Attached Files
    oldchippy
    -------------


    If you are happy with the help you have received, please click the blue scales icon in the blue bar of the post.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  5. #5
    Registered User
    Join Date
    07-01-2008
    Location
    Maple Ridge, Canada
    Posts
    3
    Chippy,

    thanks! Oddly enough, adding the cell number in the initial formula makes a difference. Regardless of why, it works! Thanks!

    John

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    11,351
    Another way may be to name the cell on the first sheet and then use that in your formula

    So select A1 on first sheet and in the Named Box enter a name, such as TITLE.

    On any of the other sheets you can simple use the formula

    =TITLE
    Cheers
    Andy
    www.andypope.info

+ 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.2.0