Excel Return all data that is on a specific weekday and on a certain month

SimonVOwen

New Member
Joined
Nov 15, 2017
Messages
26
Hello All,

I have data for the whole year for numerous items
I am trying to search the data to find a specific day and return the whole row of data.
I am want the search to continue and find all the other data that matches the data criteria.
I am unsure how to make a formula that continually searches after finding one correct row.
Ideally it would need to be able to find 2 specific criteria.

So I would want to return data that appeared on day 2.
Also the month would need to be between the values in start month and end month.
So a >= Start Month / <= End Month

I can work out the coding for the criteria searching most likely, it is just knowing what code to use to Scan Data and keep returning rows of data that I am unsure off.
Any help would be much appreciated.

ABCDEFGHI
Time Pattern Regime IDDay of the Week IDStart DayStart MonthEnd DayEnd MonthStart TimeEnd Time
111131120:0024:00:00
121131120:0024:00:00

<tbody>
</tbody><colgroup><col><col><col><col><col><col><col><col><col></colgroup>




<tbody>
</tbody><colgroup><col span="7"><col><col></colgroup>
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Forum statistics

Threads
1,214,947
Messages
6,122,411
Members
449,081
Latest member
JAMES KECULAH

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