#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Count the date

I have the folowing set up:

A B

Delayed Redundancy 31/08/09
Delayed Redundancy 03/06/10
Employed
Employed
Delayed Redundancy 31/08/09
Employed

I need a formula that will count how many Delayed redundancies there will be
in 2009

Thank you for your help

Toria
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Count the date

Hi,

Try this

=SUMPRODUCT((A1:A25="Delayed Redundancy")*(YEAR(B1:B25)=2009))

Mike

"TORIA28" wrote:

I have the folowing set up:

A B

Delayed Redundancy 31/08/09
Delayed Redundancy 03/06/10
Employed
Employed
Delayed Redundancy 31/08/09
Employed

I need a formula that will count how many Delayed redundancies there will be
in 2009

Thank you for your help

Toria

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Count the date

Assuming you have only text values in Col A..try the below

=SUMPRODUCT(--(A1:A100="Delayed Redundancy"),--(YEAR(B1:B100)=2009))

If this post helps click Yes
---------------
Jacob Skaria


"TORIA28" wrote:

I have the folowing set up:

A B

Delayed Redundancy 31/08/09
Delayed Redundancy 03/06/10
Employed
Employed
Delayed Redundancy 31/08/09
Employed

I need a formula that will count how many Delayed redundancies there will be
in 2009

Thank you for your help

Toria

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 896
Default Count the date

=SUMPRODUCT(($A$1:$A$100="Delayed Redundancy")*(YEAR($B$1:$B$100)
=2009))



On 22 Maj, 13:54, TORIA28 wrote:
I have the folowing set up:

* * * A * * * * * * * * * * * * * * * * * * * * * * *B

Delayed Redundancy * * * * * * * * *31/08/09
Delayed Redundancy * * * * * * * * *03/06/10
Employed * * * * * * * * *
Employed
Delayed Redundancy * * * * * * * * *31/08/09
Employed * * * * * *

I need a formula that will count how many Delayed redundancies there will be
in 2009

Thank you for your help

Toria


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 a value in a date range based on a date in another workshee. marsjune68 Excel Worksheet Functions 4 April 9th 09 10:31 PM
How can I count a record if it contains a date within a date range hile trotman Excel Worksheet Functions 0 September 20th 06 08:58 PM
count the mean in few date but on de date it has various data LinSeang Excel Worksheet Functions 1 June 30th 06 02:12 PM
Count number of cells with date <today's date Cachod1 New Users to Excel 2 January 28th 06 02:37 AM
count the number of cells with a date <= today's date Cachod1 New Users to Excel 3 January 27th 06 09:14 PM


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