Issue with Advanved Filter Wildcard! please help!

cocorico

New Member
Joined
May 1, 2014
Messages
3
Hi all,
I am working on my advanced filter. I would like to find all date records that contain 2014. The issue is that some records contain Q1 2014, Q2 2014, etc and others have 2014 strictly as date.
If i type in "2014" in the crteria ecxel will return all 2014 records BUT NOT q1 2014 nor q2 2014.
If i type in *2014 excel returns q1 2014, q2 2014 BUT NOT 2014.
Can somebody help? It's quite urgent! Please do not come up with an autofilter solution, i am preparing a big advanced filter solution.
Cheers
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
You'd need to use two rows - one with 2014 and one with "*2014". If you have other criteria required at the same time, they will need to be duplicated across both rows. You could also use a formula criteria range.
 
Upvote 0
You'd need to use two rows - one with 2014 and one with "*2014". If you have other criteria required at the same time, they will need to be duplicated across both rows. You could also use a formula criteria range.

Hi Rory,
Thank you very much for your help. I thought about the two rows option, in fact in my case it would be 2 times 8 rows as other crtieria would need to be duplicated too.
What is the criteria formula range?
Thank you.
 
Upvote 0
In your criteria range, instead of using a column titled "Date" (or whatever your field name is), leave the header cell blank, and use a formula like:
=ISNUMBER(SEARCH("2014",A6))
where A6 is the first row of value data (not the header) for the date field in your data table. So for the example below the criteria range is A1:C2.

A​
B​
C​
1​
Field2Field3
2​
=ISNUMBER(SEARCH("2014",A6))​
blahtest
3​
4​
5​
DateField2Field3
6​
2014​
blahtest
7​
2013​
8​
Q4 2014
9​
Q4 2013blah
10​
Q1 2013
11​
Q2 2012blahtest
12​
Q3 2014blah
 
Upvote 0

Forum statistics

Threads
1,214,652
Messages
6,120,747
Members
448,989
Latest member
mariah3

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