+ Reply to Thread
Results 1 to 5 of 5

Circular Reference with HYPERLINK and FORMULATEXT: why?

  1. #1
    Registered User
    Join Date
    02-17-2017
    Location
    Munich
    MS-Off Ver
    Office 365
    Posts
    20

    Circular Reference with HYPERLINK and FORMULATEXT: why?

    Hello,

    I need to create a cell which links to the referenced value of another cell, in case this other cell has a referenced value. However, I get a circular reference error, which I do not understand.

    Example:

    Cell A1 has the value =Basic!D12 ("Basic" is another sheet of the same document)

    In cell A2, I put the formula =HYPERLINK("#"&FORMULATEXT(A1);"XY")

    Now, I get a circular reference error; can somebody explain why this is the case, and how I can solve it? I understand the fact that I am "abusing" the hyperlink function here, but I don't know another method to create a hyperlink to another cell within the same document by means of a formula.

    Kind regards,

    Requin
    Last edited by Requin; 02-17-2017 at 11:07 AM.

  2. #2
    Registered User
    Join Date
    08-10-2012
    Location
    Derby, England
    MS-Off Ver
    2010 (Work) / 2016 (365) (Home)
    Posts
    14

    Re: Circular Reference with HYPERLINK and FORMULATEXT: why?

    Hi Requin,

    Any chance you could attach your workbook? I've just recreated what you have described and got no such circular reference.

    Thanks,

    ---
    Bernieburnham

  3. #3
    Registered User
    Join Date
    02-17-2017
    Location
    Munich
    MS-Off Ver
    Office 365
    Posts
    20

    Re: Circular Reference with HYPERLINK and FORMULATEXT: why?

    Here it is (note: it's originally in German, hope it translates well).
    In the lower left corner, my Excel says "Zirkelbezüge: B1", which means that there is a circular reference in cell B1.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    08-10-2012
    Location
    Derby, England
    MS-Off Ver
    2010 (Work) / 2016 (365) (Home)
    Posts
    14

    Post Re: Circular Reference with HYPERLINK and FORMULATEXT: why?

    Thanks for that.

    Unfortunately when I open that file, it does not present any circular references. I'm guessing this is a stripped-down version of your original file, so I'm wondering whether the issue lies in there (i.e. somehow the formula in Basic!D12 links back to Sheet1!B1). Some things I can suggest:

    1. Perform a full rebuild (CTRL + ALT + SHIFT + F9). Sometimes the status bar message for a circular reference lingers, even after the circular reference is resolved.
    2. Delete the formulae on your primary worksheet (i.e.: Sheet1). Rebuild and see if the circular reference still exists. If so, then it's somewhere else in the workbook. If not, create a new sheet and add the Sheet1 formulae to that.
    3. Change the destination of the link in Sheet1!A1 to an arbitrary cell on a new sheet. If that solves the problem, it is likely that Basic!D12 refers back to Sheet1!B1.
    4. If you're still really struggling, I would suggest starting at Basic!D12 and work back through its precedants cell-by-cell to check if everything is how you would expect.

    Sorry I can't be more helpful. Let me know if you find it or not.

  5. #5
    Registered User
    Join Date
    02-17-2017
    Location
    Munich
    MS-Off Ver
    Office 365
    Posts
    20

    Re: Circular Reference with HYPERLINK and FORMULATEXT: why?

    Thank you very much! Can't try it out now, but will do it soon

+ 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] FORMULATEXT Function Equivalent for 2007
    By TheMechEngineer in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 06-23-2020, 05:20 PM
  2. ?Offset and formulatext functions?
    By atung in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-19-2016, 01:03 PM
  3. Replies: 2
    Last Post: 02-23-2014, 06:06 PM
  4. Replies: 6
    Last Post: 11-30-2010, 04:40 AM
  5. Circular Reference when formulas reference end of row formula!
    By Spellbound in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-29-2009, 08:26 AM
  6. Replies: 1
    Last Post: 08-21-2007, 07:22 PM
  7. [SOLVED] Circular reference
    By Adella in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-18-2005, 09:05 PM

Tags for this Thread

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