PC Review


Reply
Thread Tools Rate Thread

circular reference error for simple IF statement

 
 
aileen
Guest
Posts: n/a
 
      6th Oct 2008
This IF statement is giving me a circular reference error:

=IF(F1="C",A1,0,IF(B1="CALL",A1,0))

Is it possible to get around the fact that the data for the True statement
is in the same field for both IF statements? Or is it something else in this
statement that's causing the error. Thanks for any help.


 
Reply With Quote
 
 
 
 
Sandy Mann
Guest
Posts: n/a
 
      6th Oct 2008
You should be getting a "Too many arguments" message. If are getting a
circular reference then you must have the formula in one of the referenced
cells.

=IF(F1="C",A1,IF(B1="CALL",A1,0))

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(E-Mail Removed)
Replace @mailinator.com with @tiscali.co.uk


"aileen" <(E-Mail Removed)> wrote in message
news:A4B13B9F-5D19-40A9-A2C8-(E-Mail Removed)...
> This IF statement is giving me a circular reference error:
>
> =IF(F1="C",A1,0,IF(B1="CALL",A1,0))
>
> Is it possible to get around the fact that the data for the True statement
> is in the same field for both IF statements? Or is it something else in
> this
> statement that's causing the error. Thanks for any help.
>
>
>



 
Reply With Quote
 
Barb Reinhardt
Guest
Posts: n/a
 
      6th Oct 2008
I'm guessing you have this in either F1, A1 or B1. Alternatively, a formula
in any of those cells ultimately refers to the cell that this formula is in.
--
HTH,
Barb Reinhardt

If this post was helpful to you, please click YES below.



"aileen" wrote:

> This IF statement is giving me a circular reference error:
>
> =IF(F1="C",A1,0,IF(B1="CALL",A1,0))
>
> Is it possible to get around the fact that the data for the True statement
> is in the same field for both IF statements? Or is it something else in this
> statement that's causing the error. Thanks for any help.
>
>

 
Reply With Quote
 
aileen
Guest
Posts: n/a
 
      6th Oct 2008
Yes, I'm getting a "Too many arguments" message. Sorry, I put the wrong
error. Is there any way around this issue?

"Sandy Mann" wrote:

> You should be getting a "Too many arguments" message. If are getting a
> circular reference then you must have the formula in one of the referenced
> cells.
>
> =IF(F1="C",A1,IF(B1="CALL",A1,0))
>
> --
> HTH
>
> Sandy
> In Perth, the ancient capital of Scotland
> and the crowning place of kings
>
> (E-Mail Removed)
> Replace @mailinator.com with @tiscali.co.uk
>
>
> "aileen" <(E-Mail Removed)> wrote in message
> news:A4B13B9F-5D19-40A9-A2C8-(E-Mail Removed)...
> > This IF statement is giving me a circular reference error:
> >
> > =IF(F1="C",A1,0,IF(B1="CALL",A1,0))
> >
> > Is it possible to get around the fact that the data for the True statement
> > is in the same field for both IF statements? Or is it something else in
> > this
> > statement that's causing the error. Thanks for any help.
> >
> >
> >

>
>
>

 
Reply With Quote
 
Sandy Mann
Guest
Posts: n/a
 
      6th Oct 2008
The change to your formula that I gave in my last post will work or you can
use:

=IF(OR(F1="C",B1="CALL"),A1,0)

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(E-Mail Removed)
Replace @mailinator.com with @tiscali.co.uk


"aileen" <(E-Mail Removed)> wrote in message
news:1911E4F2-C80A-4252-809F-(E-Mail Removed)...
> Yes, I'm getting a "Too many arguments" message. Sorry, I put the wrong
> error. Is there any way around this issue?
>
> "Sandy Mann" wrote:
>
>> You should be getting a "Too many arguments" message. If are getting a
>> circular reference then you must have the formula in one of the
>> referenced
>> cells.
>>
>> =IF(F1="C",A1,IF(B1="CALL",A1,0))
>>
>> --
>> HTH
>>
>> Sandy
>> In Perth, the ancient capital of Scotland
>> and the crowning place of kings
>>
>> (E-Mail Removed)
>> Replace @mailinator.com with @tiscali.co.uk
>>
>>
>> "aileen" <(E-Mail Removed)> wrote in message
>> news:A4B13B9F-5D19-40A9-A2C8-(E-Mail Removed)...
>> > This IF statement is giving me a circular reference error:
>> >
>> > =IF(F1="C",A1,0,IF(B1="CALL",A1,0))
>> >
>> > Is it possible to get around the fact that the data for the True
>> > statement
>> > is in the same field for both IF statements? Or is it something else in
>> > this
>> > statement that's causing the error. Thanks for any help.
>> >
>> >
>> >

>>
>>
>>

>



 
Reply With Quote
 
aileen
Guest
Posts: n/a
 
      6th Oct 2008
Perfect. Thanks so much.

"Sandy Mann" wrote:

> The change to your formula that I gave in my last post will work or you can
> use:
>
> =IF(OR(F1="C",B1="CALL"),A1,0)
>
> --
> HTH
>
> Sandy
> In Perth, the ancient capital of Scotland
> and the crowning place of kings
>
> (E-Mail Removed)
> Replace @mailinator.com with @tiscali.co.uk
>
>
> "aileen" <(E-Mail Removed)> wrote in message
> news:1911E4F2-C80A-4252-809F-(E-Mail Removed)...
> > Yes, I'm getting a "Too many arguments" message. Sorry, I put the wrong
> > error. Is there any way around this issue?
> >
> > "Sandy Mann" wrote:
> >
> >> You should be getting a "Too many arguments" message. If are getting a
> >> circular reference then you must have the formula in one of the
> >> referenced
> >> cells.
> >>
> >> =IF(F1="C",A1,IF(B1="CALL",A1,0))
> >>
> >> --
> >> HTH
> >>
> >> Sandy
> >> In Perth, the ancient capital of Scotland
> >> and the crowning place of kings
> >>
> >> (E-Mail Removed)
> >> Replace @mailinator.com with @tiscali.co.uk
> >>
> >>
> >> "aileen" <(E-Mail Removed)> wrote in message
> >> news:A4B13B9F-5D19-40A9-A2C8-(E-Mail Removed)...
> >> > This IF statement is giving me a circular reference error:
> >> >
> >> > =IF(F1="C",A1,0,IF(B1="CALL",A1,0))
> >> >
> >> > Is it possible to get around the fact that the data for the True
> >> > statement
> >> > is in the same field for both IF statements? Or is it something else in
> >> > this
> >> > statement that's causing the error. Thanks for any help.
> >> >
> >> >
> >> >
> >>
> >>
> >>

> >

>
>
>

 
Reply With Quote
 
Sandy Mann
Guest
Posts: n/a
 
      6th Oct 2008
You're very welcome. Thanks for posting back.

--

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(E-Mail Removed)
Replace @mailinator.com with @tiscali.co.uk


"aileen" <(E-Mail Removed)> wrote in message
news:9240A787-8A2B-4F14-8017-(E-Mail Removed)...
> Perfect. Thanks so much.
>
> "Sandy Mann" wrote:
>
>> The change to your formula that I gave in my last post will work or you
>> can
>> use:
>>
>> =IF(OR(F1="C",B1="CALL"),A1,0)
>>
>> --
>> HTH
>>
>> Sandy
>> In Perth, the ancient capital of Scotland
>> and the crowning place of kings
>>
>> (E-Mail Removed)
>> Replace @mailinator.com with @tiscali.co.uk
>>
>>
>> "aileen" <(E-Mail Removed)> wrote in message
>> news:1911E4F2-C80A-4252-809F-(E-Mail Removed)...
>> > Yes, I'm getting a "Too many arguments" message. Sorry, I put the
>> > wrong
>> > error. Is there any way around this issue?
>> >
>> > "Sandy Mann" wrote:
>> >
>> >> You should be getting a "Too many arguments" message. If are getting
>> >> a
>> >> circular reference then you must have the formula in one of the
>> >> referenced
>> >> cells.
>> >>
>> >> =IF(F1="C",A1,IF(B1="CALL",A1,0))
>> >>
>> >> --
>> >> HTH
>> >>
>> >> Sandy
>> >> In Perth, the ancient capital of Scotland
>> >> and the crowning place of kings
>> >>
>> >> (E-Mail Removed)
>> >> Replace @mailinator.com with @tiscali.co.uk
>> >>
>> >>
>> >> "aileen" <(E-Mail Removed)> wrote in message
>> >> news:A4B13B9F-5D19-40A9-A2C8-(E-Mail Removed)...
>> >> > This IF statement is giving me a circular reference error:
>> >> >
>> >> > =IF(F1="C",A1,0,IF(B1="CALL",A1,0))
>> >> >
>> >> > Is it possible to get around the fact that the data for the True
>> >> > statement
>> >> > is in the same field for both IF statements? Or is it something else
>> >> > in
>> >> > this
>> >> > statement that's causing the error. Thanks for any help.
>> >> >
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >

>>
>>
>>

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Its always the simple ones....Basic Circular Reference Problem. =?Utf-8?B?RGF2ZSBMb21heA==?= Microsoft Excel Worksheet Functions 5 6th Jul 2006 03:12 PM
Simple Circular Reference Problem Gary Microsoft Excel Worksheet Functions 2 12th May 2006 01:21 AM
If statement to avoid Creating Circular Reference =?Utf-8?B?VGltIEg=?= Microsoft Excel Worksheet Functions 3 22nd Dec 2005 05:37 AM
How do I fix a circular reference in a financial statement? =?Utf-8?B?ZHJqYXloYXdrMjU=?= Microsoft Excel Misc 0 7th Feb 2005 05:19 PM
Circular reference error Linda Microsoft Excel New Users 3 27th Apr 2004 04:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:56 PM.