Is there any way around this circular reference error?

JenniferMurphy

Well-known Member
Joined
Jul 23, 2011
Messages
2,532
Office Version
  1. 365
Platform
  1. Windows
This table tracks the odds and the rankings for several teams. These odds change every few days. The Δ columns show how the rankings changed since the last previous ranking.
2022 NBA playoff odds.xlsx
CDEFGHIJK
6Team5/6Rank3Δ2-35/3Rank2Δ1-25/1Rank1
7A2001+21503-11752
8B1752-11751+31504
9C1603=01503-21801
10D1504-21602+11703
Sheet3
Cell Formulas
RangeFormula
E7:E10E7=RANK.EQ([@[5/6]],[5/6])
F7:F10F7=[@Rank2]-[@Rank3]
H7:H10H7=RANK.EQ([@[5/3]],[5/3])
I7:I10I7=[@Rank1]-[@Rank2]
K7:K10K7=RANK.EQ([@[5/1]],[5/1])


I would like to combine the rank and Δ columns like this:
2022 NBA playoff odds.xlsx
MNOPQRS
6Team5/6Rank35/3Rank25/1Rank1
7A2001 (+2)1503 (-1)1752
8B1752 (-1)1751 (+3)1504
9C1603 (=0)1503 (-2)1801
10D1504 (-2)1602 (+1)1703
Sheet3


But when I put this equation in H7
VBA Code:
=RANK.EQ([@[5/3]],[5/3]) & " (" & [Rank1]-[Rank2] & ")"

it gets a circular reference error. Is there any way around this?
 
Hello Jen,
I don't believe I have misunderstood. The reference to text is taking your Rank2 to its logical conclusion which is to replace Rank1 with a combined formula and the result of that formula is used in the combined formula for Rank2. Since the formula involves a string concatenation the Rank1 result is text.
The circular reference is due to Rank2 referring to itself.
Aha! Now I see that it was I who misunderstood. So even if my circular reference could be resolved, I would still be adding numbers and text.

Thanks for taking the time to clarify. ??
 
Upvote 0

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Forum statistics

Threads
1,215,064
Messages
6,122,942
Members
449,094
Latest member
teemeren

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top