How to count nos. on 3 criteria

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can i count nos. those are >60 and <100 for a particular Branch.

(so there are three criterias >60, <100 and Branch also)
 
=SUMPRODUCT(--(A2:A20>60),--(A2:A20<100),--(B2:B20="Branch"))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
Say branch is in A2:A10, Nos in B2:B10, then counting Nos for branch A:

=SUMPRODUCT(--(A2:A10="A"),--(B2:B10>60),--(B2:B10<100))

Adjust ranges as necessary!

Regards,
Stefi

„Excel_Learner†ezt írta:
 
Doesn't cater for the third criteria as specified by the OP. See Bob or
Stefi's post for an answer that does though.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

------------------------------­------------------------------­----------------
It's easier to beg forgiveness than ask permission :-)
------------------------------­------------------------------­----------------
 
Hi,

Ken is right ... I read too quickly your post ...
Solution is with sumproduct()

Cheers
Carim
 

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

Similar Threads

Excel Need Countifs Formula Help 0
Count based on Conditions 1
copying_data_using_FillHandle 1
count 3
Printing Worksheet 1
Number to word 4
countif only when an exact match occurs 5
Count Nos in string 4

Back
Top