Counting Overlapping Dates

Flint66

New Member
Joined
May 6, 2022
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
Been working for a hour and can not come up with a working formula. I want to have a total of time each date range over laps for each day on the left (I put in a couple numbers just to demonstrate).
 

Attachments

  • 93B8AE3A-F815-4871-AD39-50F35B93F957.jpeg
    93B8AE3A-F815-4871-AD39-50F35B93F957.jpeg
    99.1 KB · Views: 8

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
I want to have a total of time each date range over laps for each day on the left
Do you mean the number of times each date on the left is included in a date range on the right? So for May 10 the expected answer would be 3?
 
Upvote 0
Like this?
MrExcel_20220505B.xlsx
ABCDE
1Date Ranges
2DateCount of Ranges that Include DateStartEnd
35/1/202215/1/20225/6/2022
45/2/202225/5/20225/16/2022
55/3/202225/8/20225/18/2022
65/4/202225/2/20225/4/2022
75/5/202225/11/20225/19/2022
85/6/20222
95/7/20221
105/8/20222
115/9/20222
125/10/20222
135/11/20223
145/12/20223
155/13/20223
165/14/20223
175/15/20223
185/16/20223
195/17/20222
205/18/20222
215/19/20221
225/20/20220
Sheet5
Cell Formulas
RangeFormula
B3:B22B3=COUNTIFS($D$3:$D$7,"<="&A3,$E$3:$E$7,">="&A3)
 
Upvote 0
Great!...happy to help, and welcome to the MrExcel board.
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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