#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default countif(and

i am trying to get a count fo cells for

=countif(and(d4:d60,"jones",j4:j60,"disc"))
--
clueless
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default countif(and

=sumproduct((d4:d60="jones")*(j4:j60="disc"))
or
=sumproduct(--(d4:d60="jones"),--(j4:j60="disc"))
--
David Biddulph

"sorry1" wrote in message
...
i am trying to get a count fo cells for

=countif(and(d4:d60,"jones",j4:j60,"disc"))
--
clueless



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default countif(and

Try this

=SUMPRODUCT((D4:D60="Jones")*(J4:J60="Disc"))

Mike

"sorry1" wrote:

i am trying to get a count fo cells for

=countif(and(d4:d60,"jones",j4:j60,"disc"))
--
clueless

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default countif(and

IT WORKED. Thanks a bunch. :)
--
clueless


"Mike H" wrote:

Try this

=SUMPRODUCT((D4:D60="Jones")*(J4:J60="Disc"))

Mike

"sorry1" wrote:

i am trying to get a count fo cells for

=countif(and(d4:d60,"jones",j4:j60,"disc"))
--
clueless

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default countif(and

Hi,

Try this array formula (Ctrl+Shift+Enter)

=sum(if((d4:d60="jones")*(j4:j60="disc"),1))

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"sorry1" wrote in message
...
i am trying to get a count fo cells for

=countif(and(d4:d60,"jones",j4:j60,"disc"))
--
clueless




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default countif(and

Hi,

If you are using 2007

=COUNTIFS(D4:D60,"Jones",J4:J60,"disc")


--
Thanks,
Shane Devenshire


"sorry1" wrote:

i am trying to get a count fo cells for

=countif(and(d4:d60,"jones",j4:j60,"disc"))
--
clueless

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
How do I use a countif function according to two other countif fu. Kirsty Excel Worksheet Functions 2 February 20th 06 11:44 AM
edit this =COUNTIF(A1:F16,"*1-2*")+COUNTIF(A1:F16,"*2-1*") sctroy Excel Discussion (Misc queries) 2 September 25th 05 04:13 AM
COUNTIF or not to COUNTIF on a range in another sheet Ellie Excel Worksheet Functions 4 September 15th 05 10:06 PM
COUNTIF - #DIV/01 PW11111 Excel Discussion (Misc queries) 7 July 21st 05 11:09 AM
COUNTIF in one colum then COUNTIF in another...??? JonnieP Excel Worksheet Functions 3 February 22nd 05 02:55 PM


All times are GMT +1. The time now is 04:29 AM.

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"