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  dBforums > PC based Database Applications > Microsoft Excel > Circular Referance

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-30-04, 05:05
MattPwyman MattPwyman is offline
Registered User
 
Join Date: Jan 2004
Posts: 3
Circular Referance

Hi, Can someone help me!!!

I am trying to get the Formula below to work:

=SUM(ifB5:B51=3,D52+1)

When ever i input this Excel says that it is a Circular Referance, I cant see what wrong with it and i dont know how to correct it can anyone help me!!!!
Reply With Quote
  #2 (permalink)  
Old 01-30-04, 05:21
namliam namliam is offline
Registered User
 
Join Date: Jan 2004
Location: The Netherlands
Posts: 421
Your formula is totaly wrong....
Either: Simif(criteriarange;Critiria;sumrange)
Or: Sum(sumrange)
Or: If(Criteria;true;false)

What is it your trying to do?

Regards
Reply With Quote
  #3 (permalink)  
Old 01-30-04, 05:34
MattPwyman MattPwyman is offline
Registered User
 
Join Date: Jan 2004
Posts: 3
I am bit of a novice when i comes to Excel!!!

This is what i'm trying to do, If Any of Cells from B5 to b51 = 3 then add 1 to cell C52

Matt
Reply With Quote
  #4 (permalink)  
Old 01-30-04, 07:01
MattPwyman MattPwyman is offline
Registered User
 
Join Date: Jan 2004
Posts: 3
Ok Ive worked out where i was going wrong with the syntrax of the formula, and this is what ive got so far:

=if(B5:B51=3,1)

But Excel doesnt seem to like the B5:B51 part of the Formula, and also at the moment the formula (if it works) will just change the cell value to 1 and not Add 1 to it, +1 doesnt work? What would be the correct way to put it?
Reply With Quote
  #5 (permalink)  
Old 01-30-04, 09:06
namliam namliam is offline
Registered User
 
Join Date: Jan 2004
Location: The Netherlands
Posts: 421
what your trying to do is count the number of 3's in the B column?

If so: =CountIf(B:B,3)

You cannot tell excel to add one to another cell, you must do that in VBA code not a formula. But this formula, i think, is what you are looking for. (paste it on your sheet somewhere to see if it works)

Regards
Reply With Quote
  #6 (permalink)  
Old 01-30-04, 09:30
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
Where are you putting this formula?

You have placed two difference references for the result: D52 in OP, and then C52 in your last post.
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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