'COUNTIF' and 'AND'

R

Rajula

Hi,

Can i use COUNTIF with AND funtion? My problem

B P
FTE Architect
FTE Architect
Contract BA
FTE BA
Contract BA

I want the count of people who are FTE and Architect, and people who are FTE
and BA etc etc......

Help appreciated..
Regards
Rajula
 
B

Bob Phillips

=SUMPRODUCT(--(B2:B20="FTE"),--(P2:p20="Architect"))

etc.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
T

Toppers

=sumproduct(--(B1:B100="FTE"),--(P1:p100="Architect"))

Change ranges to suit but cannnot be a column i.e. B:B is not allowed

or

=sumproduct(--(B1:B100=X1),--(P1:p100=X2))

where X1="FTE" and X2="Architect"
 
R

Rajula

From the excel help, i could understand that sumproduct function is used for
suming the products of numbers.

I want a COUNT. In my eg. I have 2 people who are FTEs and Architects. The
same way i have 2 people who are contract and Architect.. etc..
 
Top