Welcome to Lockergnome.com!
HomeHome FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

COUNTIFS workaround in Excel 2003

 
   Home -> Office -> General Discussions RSS
Next:  General Discussions: Appending columns or calculation to pivot tables  
Author Message
kreznik829




Joined: May 03, 2007
Posts: 1



(Msg. 1) Posted: Thu May 03, 2007 2:09 pm
Post subject: COUNTIFS workaround in Excel 2003

I need help. I have two columns I am working with - X and P. there are number values in both. I need to see how many times X=1 AND P=1 in the entire column. COUNTIFS worked with the 2007 edition my husband has at his work, but everyone here has 2003 and COUNTIFS does not work in 2003. Does any one have any suggestions on how to get this? Thanks!

Krista
Back to top
Login to vote
teo5




Joined: May 05, 2008
Posts: 1



(Msg. 2) Posted: Mon May 05, 2008 3:20 pm
Post subject: use an array formula

you can get around this with a sum array formula:

={sum(if(x=1,if(p=1,1,0),0))}

so if x is in the cells A2:A10 and p is in the cells B2:B10 then you would enter the formula

=sum(if(A2:A10=1,if(B2:B10=1,1,0),0))

and then hit control-shift-enter so that excel calculates it as an array formula. what this does is create a virtual column which has the value 1 in rows where x=1 and p=1, but has the value 0 in rows where either x or p is not 1, and then adds this virtual column up.
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> General Discussions All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 General
 Microsoft Windows XP
 Microsoft Windows Vista
 Microsoft Windows (other)
  Microsoft Office
 Microsoft Office (other)
 Computer Security
 Linux
 Movies


[ Contact us | Terms of Service/Privacy Policy ]