Need to filter a list between two dates

drag-driver

Board Regular
Joined
Feb 18, 2002
Messages
91
I haved tried using custom filter but this is not working. My project is a list which contains dates when an incident happened i need to find out how many incidents occured in a week, so i need to be able to split the dates over the range in to weekly lots.Any ideas would be greatly apreciated.
This message was edited by drag-driver on 2002-03-01 07:09
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
On 2002-03-01 06:56, drag-driver wrote:
I haved tried using custom filter but this is not working. My project is a list which contains dates when an incident happened i need to find out how many incidents occured in a week, so i need to be able to split the dates over the range in to weekly lots.Any ideas would be greatly apreciated.
This message was edited by drag-driver on 2002-03-01 07:09

Care to post some data?

If inclined to do so, activate an empty cell, type =, select 5 to 10 rows of relevant data including the labels, hit F9, copy what you see, and post it in the follow up along with expected results.

Note. You might want to have a look at PivotTables instead of a formula-based approach.

Aladin
 
Upvote 0
For a data field named 'Date'...

1. Enter a date from the week of interest into a cell D2.

2. Enter "Date" into cells E1:F1.

3. Enter the formula, =">="&TEXT(-WEEKDAY($D$2)+1+$D$2,"m/d/yy"), into cell E2.

4. Enter the formula, ="<="&TEXT(7-WEEKDAY($D$2)+$D$2,"m/d/yy"), into F2.

5. Use E1:F2 and your criteria range.
 
Upvote 0

Forum statistics

Threads
1,223,350
Messages
6,171,584
Members
452,411
Latest member
colpie

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