+ Reply to Thread
Results 1 to 4 of 4

Formula that returns address of a cell reference

  1. #1
    Registered User
    Join Date
    08-01-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    14

    Formula that returns address of a cell reference

    Cell A1 in Sheet1 contains a reference cell A1 on Sheet2.

    Formula in A1: =Sheet2!$A$1

    I want a formula in cell A2 to reference cell A1, but return the address of the cell that A1 is referencing, "Sheet2!$A$1"

    Is there such a formula? Thanks!

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Formula that returns address of a cell reference

    In Excel 2013 and later, you can use:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Your profile shows you're using Excel 2010, so you can add a small UDF, then use the same formula:
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    08-01-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Formula that returns address of a cell reference

    Thanks! How do I now use the formula text as the reference parameter in the OFFSET function?
    Last edited by mansfin; 10-18-2016 at 12:03 PM.

  4. #4
    Registered User
    Join Date
    08-01-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Formula that returns address of a cell reference

    Figured it out. I just need to remove the equals sign in the formula text and use the INDIRECT function.

    =OFFSET(INDIRECT(RIGHT(FORMULATEXT(A1),LEN(FORMULATEXT(A1))-1)),1,0)

+ 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. [SOLVED] formula returns value even when reference cell is blank
    By opusarlo in forum Excel General
    Replies: 7
    Last Post: 04-24-2015, 06:55 AM
  2. need to show reference cell blank if formula returns a $0.00 value
    By AWITCHER in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-21-2014, 10:48 AM
  3. [SOLVED] formula returns a #VALUE! error if no value in reference cell???
    By ciapul12 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-12-2014, 05:39 PM
  4. Replies: 2
    Last Post: 07-14-2011, 03:16 PM
  5. Excel 2007 : Reference returns cell address - not data
    By Martin Snerl in forum Excel General
    Replies: 2
    Last Post: 01-15-2010, 05:23 AM
  6. formula cell reference updates when query returns more rows
    By reillyBoston in forum Excel General
    Replies: 3
    Last Post: 08-18-2009, 11:20 AM
  7. worksheet reference returns address instead of value
    By pobruce in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-20-2006, 06:00 PM

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