PC Review


Reply
Thread Tools Rate Thread

How do I count a range of dates in a column?

 
 
GBC
Guest
Posts: n/a
 
      24th Feb 2009
How can I count a range of dates in one column and that range has to include
specific text in another column?

=COUNTA((E3:E58>="2/1/2009")*AND(H3:H58="ICO"))

Am I using the wrong formula???
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      24th Feb 2009
Check your earlier post.

GBC wrote:
>
> How can I count a range of dates in one column and that range has to include
> specific text in another column?
>
> =COUNTA((E3:E58>="2/1/2009")*AND(H3:H58="ICO"))
>
> Am I using the wrong formula???


--

Dave Peterson
 
Reply With Quote
 
Shane Devenshire
Guest
Posts: n/a
 
      24th Feb 2009
Hi,

try

=SUMPRODUCT(--(H3:H58="ICO"),--(E3:E58>=2/1/2009))

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"GBC" wrote:

> How can I count a range of dates in one column and that range has to include
> specific text in another column?
>
> =COUNTA((E3:E58>="2/1/2009")*AND(H3:H58="ICO"))
>
> Am I using the wrong formula???

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      24th Feb 2009
Except that 2/1/2009 will be treated as a very small number greater than 0:

=2 divided by 1 divided by 2009.



Shane Devenshire wrote:
>
> Hi,
>
> try
>
> =SUMPRODUCT(--(H3:H58="ICO"),--(E3:E58>=2/1/2009))
>
> --
> If this helps, please click the Yes button
>
> Cheers,
> Shane Devenshire
>
> "GBC" wrote:
>
> > How can I count a range of dates in one column and that range has to include
> > specific text in another column?
> >
> > =COUNTA((E3:E58>="2/1/2009")*AND(H3:H58="ICO"))
> >
> > Am I using the wrong formula???


--

Dave Peterson
 
Reply With Quote
 
GBC
Guest
Posts: n/a
 
      24th Feb 2009
Shane,
Thank You!!!!
That worked like a charm!!!

"Shane Devenshire" wrote:

> Hi,
>
> try
>
> =SUMPRODUCT(--(H3:H58="ICO"),--(E3:E58>=2/1/2009))
>
> --
> If this helps, please click the Yes button
>
> Cheers,
> Shane Devenshire
>
>
> "GBC" wrote:
>
> > How can I count a range of dates in one column and that range has to include
> > specific text in another column?
> >
> > =COUNTA((E3:E58>="2/1/2009")*AND(H3:H58="ICO"))
> >
> > Am I using the wrong formula???

 
Reply With Quote
 
GBC
Guest
Posts: n/a
 
      24th Feb 2009
Hi Shane,

If I change the text to "wfo" instead of "ico" I am getting way too many
results, I should only be getting 1, any thoughts on the problem?

"Shane Devenshire" wrote:

> Hi,
>
> try
>
> =SUMPRODUCT(--(H3:H58="ICO"),--(E3:E58>=2/1/2009))
>
> --
> If this helps, please click the Yes button
>
> Cheers,
> Shane Devenshire
>
>
> "GBC" wrote:
>
> > How can I count a range of dates in one column and that range has to include
> > specific text in another column?
> >
> > =COUNTA((E3:E58>="2/1/2009")*AND(H3:H58="ICO"))
> >
> > Am I using the wrong formula???

 
Reply With Quote
 
T. Valko
Guest
Posts: n/a
 
      24th Feb 2009
>=SUMPRODUCT(--(H3:H58="ICO"),--(E3:E58>=2/1/2009))

As Dave Peterson noted, that formula is incorrect.

Use cells to hold your criteria:

A1 = 2/1/2009
B1 = ICO

=SUMPRODUCT(--(E3:E58>=A1),--(H3:H58=B1))

--
Biff
Microsoft Excel MVP


"GBC" <(E-Mail Removed)> wrote in message
news:3987882F-C868-4C21-9867-(E-Mail Removed)...
> Hi Shane,
>
> If I change the text to "wfo" instead of "ico" I am getting way too many
> results, I should only be getting 1, any thoughts on the problem?
>
> "Shane Devenshire" wrote:
>
>> Hi,
>>
>> try
>>
>> =SUMPRODUCT(--(H3:H58="ICO"),--(E3:E58>=2/1/2009))
>>
>> --
>> If this helps, please click the Yes button
>>
>> Cheers,
>> Shane Devenshire
>>
>>
>> "GBC" wrote:
>>
>> > How can I count a range of dates in one column and that range has to
>> > include
>> > specific text in another column?
>> >
>> > =COUNTA((E3:E58>="2/1/2009")*AND(H3:H58="ICO"))
>> >
>> > Am I using the wrong formula???



 
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 Unique Values in 1 Column based on Date Range in another Column Brian Microsoft Excel Worksheet Functions 28 17th May 2009 02:58 PM
Count Unique Values in 1 Column based on Date Range in another Column Brian Microsoft Excel Worksheet Functions 0 16th May 2009 04:44 PM
Formula to count number of time stamps within a range in a column having dates formatted as "custom" Sam Microsoft Excel Misc 3 19th Jun 2007 12:33 AM
How to count dates within a certain range in a column with mutiple date range entries Krisjhn Microsoft Excel Worksheet Functions 2 1st Sep 2005 01:59 PM
Count the dates in a specified range of data (column). Faraj Microsoft Excel Misc 1 7th Oct 2003 01:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:43 AM.