Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
S Davis
 
Posts: n/a
Default Counting multiple criteria involving dates

Hey everyone,

I need to count the number of instances a row meets a few requirements.

For example, the row contains the following data:

A B C D
1|| Active Mechanic 2/28/2005 9/9/2005
2|| Terminated Mechanic 9/1/2004 8/19/2005
3|| Leave Janitor 7/27/1991 5/16/2005

I want to count all those who are A) Terminated, B) a Mechanic, and
D)between 1/1/2005 and 12/31/2005. The results from the above data
should be "1".

Any advice?

I'd like to use this array [ctrl-shift-enter] but can't figure out how
to get date ranges in the

=SUM((A1:D3="Terminated")*(B1:B3="Mechanic"))

TIA!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
S Davis
 
Posts: n/a
Default Counting multiple criteria involving dates

{=SUM((DD!A3:DD!A945="Terminated")*(DD!D3:DD!D945= "Mechanic")*(DD!J3:DD!J945DATE(C1,1,1))*(DD!J3:DD !J945<DATE(C1,12,31)))}

Got it, thanks anyway:)

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
S Davis
 
Posts: n/a
Default Counting multiple criteria involving dates

Sorry, that last reply had the year "2005" at c1, and started at A3,
unlike the above example. Cheers

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
Counting dates in multiple work sheets and work books Savage Excel Discussion (Misc queries) 0 December 20th 05 12:41 AM
Countif on multiple dates Jim Excel Worksheet Functions 6 December 13th 05 06:56 PM
counting with a criteria in multiple transactions shafali Excel Worksheet Functions 1 November 29th 04 02:15 AM
Counting "rows", i.e. simultaneous criteria for multiple cells gkline Excel Worksheet Functions 2 November 19th 04 08:30 AM
counting entries between two dates? Todd Excel Worksheet Functions 7 November 2nd 04 12:07 AM


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

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"