Advanced Filter

ARUNCHENNAI

Board Regular
Joined
Apr 24, 2017
Messages
66
Hi,
I have 4 columns of data.
Time(24Hrs HH:MM), Item,Date(DD MMM YYYY)

Wish to use filter and extract data with certain criteria
1. ">=" & 20:00 Hrs 15 Mar 2018
2. "<=" & 10:00 Hrs 18 Mar 2018

Kindly support me with Macro code.

I'm using the below code, but no use
Code:
source_sheet.Range("A:D").AdvancedFilter _
Action:=xlFilterInPlace, _
CriteriaRange:=reff_sheet.Range("E1:H2"), _
Unique:=False
 
Last edited:

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,215,509
Messages
6,125,215
Members
449,215
Latest member
texmansru47

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