#1   Report Post  
Junior Member
 
Posts: 1
Default Help

Hi everyone, I am trying to do a function that will return the number of items in the worksheet with two criterias. I have tried this =countif('Aug 17-23'!C4:C38,"S3"),Countif('Aug 17-23'!D4:D38,"San") it doesn't work please any suggestions.
  #2   Report Post  
Domenic
 
Posts: n/a
Default

Try...

=SUMPRODUCT(--('Aug 17-23'!C4:C38="S3"),--('Aug 17-23'!D4:D38="San"))

Hope this helps!

In article ,
canman wrote:

Hi everyone, I am trying to do a function that will return the number of
items in the worksheet with two criterias. I have tried this
=countif('Aug 17-23'!C4:C38,"S3"),Countif('Aug 17-23'!D4:D38,"San") it
doesn't work please any suggestions.

  #3   Report Post  
bj
 
Posts: n/a
Default

or try
=sum(countif('Aug 17-23'!C4:C38,"S3"),Countif('Aug 17-23'!D4:D38,"San"))

"canman" wrote:


Hi everyone, I am trying to do a function that will return the number of
items in the worksheet with two criterias. I have tried this
=countif('Aug 17-23'!C4:C38,"S3"),Countif('Aug 17-23'!D4:D38,"San") it
doesn't work please any suggestions.


--
canman

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



All times are GMT +1. The time now is 09:08 PM.

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

About Us

"It's about Microsoft Excel"