counting rows wen 2 arguments are true

S

SoulReaper

is there any way i can create a formula to count the amount of rows when
2 arguments are true?

i have two columns with text in them, say A1:A10 and B1:B10 id like to
find a way of counting the rows when both ranges have specific text in
them. eg

ACCOUNT TYPE[/B] FULLTIME/PARTIME

ordinary Fulltime
ordinary Partime
ordinary Fulltime
ordinary Fulltime
ordinary Fulltime
student Fulltime


say i wanted to count the rows wen account type = ordinary and
fulltime/partime = Fulltime. is this at all possible any help would be
appreciated.
 
A

A.W.J. Ales

SoulReaper,

=SUMPRODUCT((A1:A10="ordinary")*(B1:B10="Fulltime"))

--
Regards,
Auk Ales

* Please reply to this newsgroup only *
* I will not react on unsolicited e-mails *
 
W

wie.niet

SoulReaper said:
is there any way i can create a formula to count the amount of rows when
2 arguments are true?

i have two columns with text in them, say A1:A10 and B1:B10 id like to
find a way of counting the rows when both ranges have specific text in
them. eg

ACCOUNT TYPE[/B] FULLTIME/PARTIME

ordinary Fulltime
ordinary Partime
ordinary Fulltime
ordinary Fulltime
ordinary Fulltime
student Fulltime


say i wanted to count the rows wen account type = ordinary and
fulltime/partime = Fulltime. is this at all possible any help would be
appreciated.


you could enter a new column with the formula
=IF(AND(A1="ordinary";B1="Fulltime));1;0)
and than summarize this column
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top