how to fix Error reference to a cell dependent on its own cell value

Seifeddine87

Board Regular
Joined
Sep 7, 2015
Messages
128
Office Version
  1. 2016
  2. 2011
  3. 2010
hi am using Index, match function and this message keeps coming up

careful we found one or more circular references in your workbook that might cause your formulas to calculate incorrectly
fyi a circular reference can be a formula that refers to its own cell value, or reference to a cell dependent on its own cell value

when i change the formula to normal numbers every thing works perfect but when i change it back it come up with this the same message and value is 0

is there any chance to make it work in a formula thank you
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
=INDEX('[09 Vehicles & Storage Data.xlsx]Storage'!$F$7:$F$290,INDEX(MATCH(1,('[09 Vehicles & Storage Data.xlsx]Storage'!$B$7:$B$290=I4)*('[09 Vehicles & Storage Data.xlsx]Storage'!$D$7:$D$290>=G4),),0))

$D$7:$D$290 there is a =(SUMIF('[04 Stock.xlsx]Stock'!$H$3:$H$10003,F7,'[04 Stock.xlsx]Stock'!$G$3:$G$10003))-(SUMIF('[05 Sale.xlsx]Data'!$T$4:$T$4814,F7,'[05 Sale.xlsx]Apr'!$U$5:$U$404))
 
Upvote 0
Please answer both questions.

In [01 Detail.xlsx]Detail Cell H4 i have put this formula
=INDEX('[09 Vehicles & Storage Data.xlsx]Storage'!$F$7:$F$290,INDEX(MATCH(1,('[09 Vehicles & Storage Data.xlsx]Storage'!$B$7:$B$290=I4)*('[09 Vehicles & Storage Data.xlsx]Storage'!$D$7:$D$290>=G4),),0))

in
[09 Vehicles & Storage Data.xlsx]Storage D7 i have put this formula
=IF(F7="","",SUMIF('[04 Stock.xlsx]Stock'!$H$3:$H$10003,F7,'[04 Stock.xlsx]Stock'!$G$3:$G$10003)-SUMIF('[05 Sale.xlsx]Data'!$T$4:$T$4814,F7,'[05 Sale.xlsx]Apr'!$U$5:$U$404))
 
Upvote 0
n [09 Vehicles & Storage Data.xlsx]Storage D7 i have put this formula
=IF(F7="","",SUMIF('[04 Stock.xlsx]Stock'!$H$3:$H$10003,F7,'[04 Stock.xlsx]Stock'!$G$3:$G$10003)-SUMIF('[05 Sale.xlsx]Data'!$T$4:$T$4814,F7,'[05 Sale.xlsx]Apr'!$U$5:$U$404)) The value =3500

but when i delete the formula and i wright 3500 its working fine
 
Upvote 0
just looking for a way how to make it look like value not formula so the other formula can read it probably thank you for your help
 
Upvote 0
Yes, that's a circular reference.
The formulas in [09 Vehicles & Storage Data.xlsx]Storage column D are dependent on the value of [01 Detail.xlsx]Detail Cell H4

You'll need to put the formula outside any of those referenced ranges to avoid the circular reference.
 
Upvote 0
just looking for a way how to make it look like value not formula so the other formula can read it probably thank you for your help
You could put the formula in another cell that doesn't create a circular reference. Then Copy that cell and paste-special values onto the original cell.
 
Upvote 0
yes but that formula keep changing all the time is there any way i can bypass that error and just let it read it as numbers
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,306
Members
452,633
Latest member
DougMo

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