A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Circular References



 
 
Thread Tools Display Modes
  #1  
Old September 24th, 2008, 09:22 AM posted to microsoft.public.excel.worksheet.functions
Alexey[_2_]
external usenet poster
 
Posts: 43
Default 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


  #2  
Old September 24th, 2008, 09:37 AM posted to microsoft.public.excel.worksheet.functions
Mike H
external usenet poster
 
Posts: 8,419
Default 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



  #3  
Old September 24th, 2008, 09:55 AM posted to microsoft.public.excel.worksheet.functions
Niek Otten
external usenet poster
 
Posts: 2,533
Default 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
|
|


  #4  
Old September 24th, 2008, 10:19 AM posted to microsoft.public.excel.worksheet.functions
Alexey[_2_]
external usenet poster
 
Posts: 43
Default 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


  #5  
Old September 24th, 2008, 10:33 AM posted to microsoft.public.excel.worksheet.functions
Mike H
external usenet poster
 
Posts: 8,419
Default 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



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:36 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.