Need to display a count of occurences within a date range.

QuickQuestion123

New Member
Joined
Mar 21, 2006
Messages
15
Here is my issue. I have a large excel sheet with two columns of dates, one for begining Date and one for Ending date.

What I want to try and do is to have a specific date be entered in a cell and for a formula to be created to count all the occurences where that date falls inbetween the date ranges.

i.e.

Simple data of
Begining date Ending Date
05/01/06 07/01/06
07/01/06 12/01/06
04/01/06 05/05/06
01/01/06 12/01/06
06/01/06 06/05/06


if I display in the cell 6/1/06, than I should receive a count of 3.

I have been playing with the countif forumula but it just is not computing correctly.

ANY IDEAS????

Thanks - Ron
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Hi,

Try this:
Book1
ABCD
1Begining dateEnding Date
205/01/200607/01/2006
307/01/200612/01/2006
404/01/200605/05/2006
501/01/200612/01/2006
606/01/200606/05/2006
7
8
9
1006/01/20063
Sheet3


Hope it helps.
 
Upvote 0
Domski,

Thanks, but just one small issue I failed to mention prior. The end date column may be blank if there is no current end date

so is there something that i can add to the forumla you mentioned to that it will still count an occurence if the Specific Date is Past the begining date, BUT there is no End date?
 
Upvote 0

Forum statistics

Threads
1,214,522
Messages
6,120,022
Members
448,939
Latest member
Leon Leenders

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top