ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Circular References (https://www.excelbanter.com/excel-worksheet-functions/203703-circular-references.html)

Alexey[_2_]

Circular References
 
Hi
When i open a worksheet I am getting a Circular reference error
The reference is on $s$6 and the forumula is: =IF(ISERROR(S6),0,SUM(R6/Q6))

Q6 contains the figure 87 R6 contains 0

Can someone explain this to me please I dont understand why it is a circular
reference

Thanks

A



Mike H

Circular References
 
Hi,

Is this formula is in A6?, if not where is it?

With the data you give for Q6 - R6 it will always produce 0 as a result.
Simplify the formula like this

=IF(ISERROR(S6),0,(R6/Q6))

What is the formula in S6?

Mike

"Alexey" wrote:

Hi
When i open a worksheet I am getting a Circular reference error
The reference is on $s$6 and the forumula is: =IF(ISERROR(S6),0,SUM(R6/Q6))

Q6 contains the figure 87 R6 contains 0

Can someone explain this to me please I dont understand why it is a circular
reference

Thanks

A




Niek Otten

Circular References
 
If this formula really is in $S$6, then it refers to itself.
Maybe this was meant:

=IF(ISERROR(R6/Q6),0,R6/Q6)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Alexey" wrote in message ...
| Hi
| When i open a worksheet I am getting a Circular reference error
| The reference is on $s$6 and the forumula is: =IF(ISERROR(S6),0,SUM(R6/Q6))
|
| Q6 contains the figure 87 R6 contains 0
|
| Can someone explain this to me please I dont understand why it is a circular
| reference
|
| Thanks
|
| A
|
|



Alexey[_2_]

Circular References
 
Hi both

thanks for your post and help

The formula was in S6.

Since Q6 will often have data in it, whilst R6 may not yet have any data
entered, S6 which is calculating a % (R6/Q6) will return an error if R6 is
empty. I am just trying to tidy up the sheet and show a blank in S6 in the
instances where R6 is empty

Thanks again for your help

A



Mike H

Circular References
 
1 way

IF(COUNT(Q6:R6)=2,R6/Q6,"")

Mike

"Alexey" wrote:

Hi both

thanks for your post and help

The formula was in S6.

Since Q6 will often have data in it, whilst R6 may not yet have any data
entered, S6 which is calculating a % (R6/Q6) will return an error if R6 is
empty. I am just trying to tidy up the sheet and show a blank in S6 in the
instances where R6 is empty

Thanks again for your help

A





All times are GMT +1. The time now is 06:38 AM.

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