group records that are within a range of dates

stratis63

New Member
Joined
May 30, 2012
Messages
7
hi,
I have a spreadsheet that has a number of 2000 records, they all are events that have a start date and and end date
so i need to create a pivot or a filter of the events that fall in the same range or if they have a difference up to 2 days

for example
Name start End
A Jan 1 Jan 5
B Feb 1 Feb 3
C Mar 2 Mar 4
D Jan 4 Jan 4
E Feb 2 Feb 4

so here we have 3 groups.
Jan 1 to Jan 5
Feb 2 to Feb 4
and Mar 2 to Mar 4
first step is to identify the records so i can group them and the 2nd one to to present them...
let me know if you have an idea
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,214,978
Messages
6,122,549
Members
449,089
Latest member
davidcom

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