LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
BradKopecky
 
Posts: n/a
Default Count cells between a date range


I need a forumula that helps me show the number of students enrolled in
a class on any given day.

I have a spreadsheet with two worksheets. One tab has a list of
students and their start and end date in the class, the other tab has a
list of dates in column A.

In column B of the tab with dates, I am looking for a count of how many
students have a start date = AND <= the end date for that particular
day.

I have tried a Conditional Counta, but something is not working. Here
is what I have for a forumla that I am trying to make work. In that
formula A4 is a date in column A. For some reason, the formula returns
9,999 rather than an accurate count.

{=COUNTA(IF(Clients!$C$2:$C$10000=A4,IF(Clients!$ D$2:$D$10000<=A4,Clients!$A$2:$A$10000,0),0))}


--
BradKopecky
------------------------------------------------------------------------
BradKopecky's Profile: http://www.excelforum.com/member.php...o&userid=31479
View this thread: http://www.excelforum.com/showthread...hreadid=511570

 
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 occurances in range of cells Ed Gregory Excel Worksheet Functions 1 September 7th 05 04:12 PM
Match function...random search? Les Excel Worksheet Functions 10 July 28th 05 11:54 AM
count date occurances in range of dates... Alex Excel Worksheet Functions 2 July 27th 05 04:15 PM
Character Count Range of Cells michimac Excel Discussion (Misc queries) 1 May 29th 05 11:26 PM
How do I count cells in a column of dates between date ranges? Andrew82 Excel Worksheet Functions 2 April 14th 05 09:59 AM


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