Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How to count nos. on 3 criteria

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

(so there are three criterias 60, <100 and Branch also)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 510
Default How to count nos. on 3 criteria

Hi,

=countif(allyourrange,"<100")-countif(allyourange,"60")

HTH

Cheers
Carim


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

(so there are three criterias 60, <100 and Branch also)


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default How to count nos. on 3 criteria

=SUMPRODUCT(--(A2:A2060),--(A2:A20<100),--(B2:B20="Branch"))

--
HTH

Bob Phillips

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

"Excel_Learner" wrote in message
...
How can i count nos. those are 60 and <100 for a particular Branch.

(so there are three criterias 60, <100 and Branch also)



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default How to count nos. on 3 criteria

Say branch is in A2:A10, Nos in B2:B10, then counting Nos for branch A:

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

Adjust ranges as necessary!

Regards,
Stefi

€žExcel_Learner€ť ezt Ă*rta:

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

(so there are three criterias 60, <100 and Branch also)

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 634
Default How to count nos. on 3 criteria

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 :-)
------------------------------*------------------------------*----------------


"Carim" wrote in message
ups.com...
Hi,

=countif(allyourrange,"<100")-countif(allyourange,"60")

HTH

Cheers
Carim


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

(so there are three criterias 60, <100 and Branch also)






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 510
Default How to count nos. on 3 criteria

Hi,

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

Cheers
Carim

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count if two columns match different criteria Curt D. Excel Worksheet Functions 5 May 14th 23 07:44 PM
Count items when specific text and date criteria are met javamom Excel Worksheet Functions 8 April 24th 06 09:28 PM
How do I count data with criteria from two separate columns in exc Scott Excel Worksheet Functions 1 March 2nd 06 04:17 AM
Count rows that match criteria in 2 different column cell ranges JoAnn New Users to Excel 2 December 9th 05 05:51 PM
count cell if value present in every other cell + criteria lrbest4x4xfar Excel Worksheet Functions 2 September 26th 05 01:30 AM


All times are GMT +1. The time now is 11:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"