LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 354
Default Countif Based on Date Range

Hey Hey,

Some how I'm tangled up in a work project and I could use some help with a
formula. We are trying to "count" each supervisors "safe" and "unsafe"
actions based on a date range.

Sheet in question is called "summary". A3 & B3 = date range, C6 & C7 are
where the forumlas are places. We have this working in Excel 2007, but it
DOESN'T work in 2003 and it needs to work in 2003. I get a bunch of errors
within the forumla.

If anyone could help make this 03 compatible, I would REALLY appreciate it.
:-)

C6 Formula:
=(COUNTIFS('D. Warner'!A:A,"<"&$B$3+1,'D. Warner'!A:A,""&$A$3-1,'D.
Warner'!D:D,"Safe"))+(COUNTIFS('P. Winkler'!A:A,"<"&$B$3+1,'P.
Winkler'!A:A,""&$A$3-1,'P. Winkler'!D:D,"Safe"))+(COUNTIFS('R.
Freeman'!A:A,"<"&$B$3+1,'R. Freeman'!A:A,""&$A$3-1,'R.
Freeman'!D:D,"Safe"))+(COUNTIFS('M. Pfeifer'!A:A,"<"&$B$3+1,'M.
Pfeifer'!A:A,""&$A$3-1,'M. Pfeifer'!D:D,"Safe"))+(COUNTIFS('T.
McCanna'!A:A,"<"&$B$3+1,'T. McCanna'!A:A,""&$A$3-1,'T.
McCanna'!D:D,"Safe"))+(COUNTIFS('N. Rasmussen'!A:A,"<"&$B$3+1,'N.
Rasmussen'!A:A,""&$A$3-1,'N. Rasmussen'!D:D,"Safe"))+(COUNTIFS('M.
Parra'!A:A,"<"&$B$3+1,'M. Parra'!A:A,""&$A$3-1,'M.
Parra'!D:D,"Safe"))+(COUNTIFS('M. Kieser'!A:A,"<"&$B$3+1,'M.
Kieser'!A:A,""&$A$3-1,'M. Kieser'!D:D,"Safe"))+(COUNTIFS('B.
Scheppler'!A:A,"<"&$B$3+1,'B. Scheppler'!A:A,""&$A$3-1,'B.
Scheppler'!D:D,"Safe"))

C7 Forumla:
=(COUNTIFS('D. Warner'!A:A,"<"&$B$3+1,'D. Warner'!A:A,""&$A$3-1,'D.
Warner'!D:D,"Unsafe"))+(COUNTIFS('P. Winkler'!A:A,"<"&$B$3+1,'P.
Winkler'!A:A,""&$A$3-1,'P. Winkler'!D:D,"Unsafe"))+(COUNTIFS('R.
Freeman'!A:A,"<"&$B$3+1,'R. Freeman'!A:A,""&$A$3-1,'R.
Freeman'!D:D,"Unsafe"))+(COUNTIFS('M. Pfeifer'!A:A,"<"&$B$3+1,'M.
Pfeifer'!A:A,""&$A$3-1,'M. Pfeifer'!D:D,"Unsafe"))+(COUNTIFS('T.
McCanna'!A:A,"<"&$B$3+1,'T. McCanna'!A:A,""&$A$3-1,'T.
McCanna'!D:D,"Unsafe"))+(COUNTIFS('N. Rasmussen'!A:A,"<"&$B$3+1,'N.
Rasmussen'!A:A,""&$A$3-1,'N. Rasmussen'!D:D,"Unsafe"))+(COUNTIFS('M.
Parra'!A:A,"<"&$B$3+1,'M. Parra'!A:A,""&$A$3-1,'M.
Parra'!D:D,"Unsafe"))+(COUNTIFS('M. Kieser'!A:A,"<"&$B$3+1,'M.
Kieser'!A:A,""&$A$3-1,'M. Kieser'!D:D,"Unsafe"))+(COUNTIFS('B.
Scheppler'!A:A,"<"&$B$3+1,'B. Scheppler'!A:A,""&$A$3-1,'B.
Scheppler'!D:D,"Unsafe"))

Example sheet: http://rockee.endlessobsessions.com/test/Pillars.zip
 
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
COUNTIF by date range problem LoriB Excel Worksheet Functions 12 October 27th 08 06:18 PM
Countif function - using a date range Exceluser1 Excel Worksheet Functions 9 October 4th 08 10:30 AM
Countif with date range criteria luisi Excel Worksheet Functions 5 March 28th 08 05:19 PM
countif date range joe Excel Worksheet Functions 1 September 27th 05 08:44 PM


All times are GMT +1. The time now is 01:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"