PC Review


Reply
Thread Tools Rate Thread

Count the number of rows where more than one column meets set crit

 
 
=?Utf-8?B?QmFycmllVm9pY2U=?=
Guest
Posts: n/a
 
      14th Jul 2006
I want to find out the number of rows where the more than one column meets
criteria set in another cell.

Eg:

Column A is Name
Column B is Date

I want to find out the number of times "John" appears in column A and
"14/07/06" appears in column B. If possible i'd like to reference the search
criteria through another cell.

My limited understanding makes me think I need a COUNTAND function but it
doesn't exist.

Thanks in advance for any help.

Regards

Barrie
 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWFyY2Vsbw==?=
Guest
Posts: n/a
 
      14th Jul 2006
Hi Barrie,

use =sumproduct(--(a2:a1000="John")*(b2:b100=date(2006,07,14)))
hth
regards from Brazil
Marcelo


"BarrieVoice" escreveu:

> I want to find out the number of rows where the more than one column meets
> criteria set in another cell.
>
> Eg:
>
> Column A is Name
> Column B is Date
>
> I want to find out the number of times "John" appears in column A and
> "14/07/06" appears in column B. If possible i'd like to reference the search
> criteria through another cell.
>
> My limited understanding makes me think I need a COUNTAND function but it
> doesn't exist.
>
> Thanks in advance for any help.
>
> Regards
>
> Barrie

 
Reply With Quote
 
=?Utf-8?B?Sk5X?=
Guest
Posts: n/a
 
      14th Jul 2006
I have another question about sumproduct.

I've got dates in range a3:a65536
I'm trying to count how many events happen in January and I have the
following formula:
=SUMPRODUCT(('2006 Detail'!$A$3:$A$65536>=B$4)*('2006
Detail'!$A$3:$A$65536<+C$4))
B4 = 1/1/2006
C4 = 2/1/2006

There are no events entered for January of 2006 but the formula is saying
that there is one. August also has no events and the formula is working
correctly.

Any thoughts?

Thanks...
--
JNW


"Marcelo" wrote:

> Hi Barrie,
>
> use =sumproduct(--(a2:a1000="John")*(b2:b100=date(2006,07,14)))
> hth
> regards from Brazil
> Marcelo
>
>
> "BarrieVoice" escreveu:
>
> > I want to find out the number of rows where the more than one column meets
> > criteria set in another cell.
> >
> > Eg:
> >
> > Column A is Name
> > Column B is Date
> >
> > I want to find out the number of times "John" appears in column A and
> > "14/07/06" appears in column B. If possible i'd like to reference the search
> > criteria through another cell.
> >
> > My limited understanding makes me think I need a COUNTAND function but it
> > doesn't exist.
> >
> > Thanks in advance for any help.
> >
> > Regards
> >
> > Barrie

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
count entries that equal one criteria if another column meets anot ccKennedy Microsoft Excel Worksheet Functions 7 24th Jan 2009 09:23 PM
How do I count in column A when it meets all criteria in three col =?Utf-8?B?ZGVyZWtzbW9t?= Microsoft Excel Worksheet Functions 2 9th Nov 2006 04:37 PM
Count number of rows, where non relevant rows are hidden =?Utf-8?B?UGlldGVy?= Microsoft Excel Misc 2 8th Nov 2006 12:24 PM
how can i count a number that meets a criteria? =?Utf-8?B?b2FrbQ==?= Microsoft Excel Worksheet Functions 2 11th Mar 2005 06:13 AM
Count the numbers of 1 column where an other column meets a creteria? Michel Microsoft Excel Worksheet Functions 3 19th Apr 2004 06:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:30 PM.