#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default COUNT

I need help in sorting out this problem:

count Certain type of Text Value in A:A only if the Date in B:B is after
2009-01-01

A B
box 2008-01-02
cat 2009-02-02
box 2009-03-03
cat 2008-12-15
fox 2009-03-05
--
Toronto
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default COUNT

Try this:

=SUMPRODUCT(--(A1:A100=C1),--(B1:B100=D1))

This assumes the text string you're looking for is stored in C1 and the date
you want to compare against is stored in D1.

HTH
Elkar


"observer" wrote:

I need help in sorting out this problem:

count Certain type of Text Value in A:A only if the Date in B:B is after
2009-01-01

A B
box 2008-01-02
cat 2009-02-02
box 2009-03-03
cat 2008-12-15
fox 2009-03-05
--
Toronto

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default COUNT

Thank you so much Elkar. Your solutions is simply the best. Wish you the Best


Toronto


"Elkar" wrote:

Try this:

=SUMPRODUCT(--(A1:A100=C1),--(B1:B100=D1))

This assumes the text string you're looking for is stored in C1 and the date
you want to compare against is stored in D1.

HTH
Elkar


"observer" wrote:

I need help in sorting out this problem:

count Certain type of Text Value in A:A only if the Date in B:B is after
2009-01-01

A B
box 2008-01-02
cat 2009-02-02
box 2009-03-03
cat 2008-12-15
fox 2009-03-05
--
Toronto

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 Employee Work Time - Don't Count Duplicates J Excel Worksheet Functions 3 May 1st 07 10:47 PM
Count Employee Work Time - Don't Double-count Overlapping Apts. J Excel Worksheet Functions 0 April 27th 07 05:52 AM
Excel 2000, count, sort a list & count totals? sunslight Excel Worksheet Functions 1 April 9th 07 05:46 PM
Count Intervals of 1 Numeric value in a Row and Return Count down Column Sam via OfficeKB.com Excel Worksheet Functions 8 October 4th 05 04:37 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM


All times are GMT +1. The time now is 08:32 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"