ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Circular reference error (https://www.excelbanter.com/excel-programming/339348-circular-reference-error.html)

[email protected]

Circular reference error
 
Hi all -

I store a fomula on Formulas! to be copied to Data! at run-time.
The formula is stored in $B1 and ref's $B1 so I get a circular ref
error.

What can I do?
Thanks
-marc


[email protected]

Circular reference error
 
bump

Any help out there please?

Thanks
-goss


MrShorty[_14_]

Circular reference error
 

Not certain what the problem is. A function that refers to itself is
certainly a circular reference. Is the function supposed to refer to
itself? In cases where a circular reference is necessary, you have to
enable iteration (Tools - Options - Calculation - check the
iteration box).


--
MrShorty
------------------------------------------------------------------------
MrShorty's Profile: http://www.excelforum.com/member.php...o&userid=22181
View this thread: http://www.excelforum.com/showthread...hreadid=460233


[email protected]

Circular reference error
 
Hi Shorty -

No I store the formula on a tab named formulas until at runtime the
formula is copied to a tab named data.

The formula is stored in cell B1 on Formula!
It is a lookup formula with syntax =vlookup($B1,mytbl,3,false)

So the circular ref error.

Thanks
-goss




MrShorty wrote:
Not certain what the problem is. A function that refers to itself is
certainly a circular reference. Is the function supposed to refer to
itself? In cases where a circular reference is necessary, you have to
enable iteration (Tools - Options - Calculation - check the
iteration box).


--
MrShorty
------------------------------------------------------------------------
MrShorty's Profile: http://www.excelforum.com/member.php...o&userid=22181
View this thread: http://www.excelforum.com/showthread...hreadid=460233



MrShorty[_15_]

Circular reference error
 

So, as I understand it: The formula is stored in "formulas" but doesn'
need to do anything there. When copied to "data," it will be copied t
a cell other than B1, so it doesn't create a circular referenc
there??

If the formula isn't needed to do anything in "formulas," I woul
probably put an apostrophe at the front ('=...) so Excel will treat th
cell as text rather than as a formula. Then remove the apostrophe whe
you copy it to "data.

--
MrShort
-----------------------------------------------------------------------
MrShorty's Profile: http://www.excelforum.com/member.php...fo&userid=2218
View this thread: http://www.excelforum.com/showthread.php?threadid=46023



All times are GMT +1. The time now is 02:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com