Advanced filter issue

naderfikry

New Member
Joined
Nov 11, 2014
Messages
2
Hi all,

I've been using advanced filter with criteria range for quite long now but lately I noticed something which I am not sure if it's a bug or not.

Please check the example belowe, I have the 1st column which I need to filter (column on the left) and the criteria range column (column on the right).

Now after filtering I expect to get the filtered result showing "John" and "Tom" only; however "John Archer" comes out as well which produces inaccurate results for me specially when I work on large data sheets. Was it always like this or is this new? Or is it a bug?

Thanks.

[TABLE="width: 115"]
<colgroup><col></colgroup><tbody>[TR]
[TABLE="width: 243"]
<colgroup><col><col span="2"></colgroup><tbody>[TR]
[TD]Names
[/TD]
[TD] [/TD]
[TD]Names[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD] [/TD]
[TD]John
[/TD]
[/TR]
[TR]
[TD]Emma
[/TD]
[TD] [/TD]
[TD]Tom
[/TD]
[/TR]
[TR]
[TD]Mary[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Tom
[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Donald[/TD]
[TD] [/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]John Archer[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
[/TR]
[TR]

[/TR]
[TR]

[/TR]
[TR]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]

[/TR]
[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 115"]
<tbody>[TR]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
By default, advanced filter uses a 'begins with' text filter. So if you just enter John, it will match any rows that start with John. If you want an exact match, enter:
'=John
in the criteria cell.
 
Upvote 0
By default, advanced filter uses a 'begins with' text filter. So if you just enter John, it will match any rows that start with John. If you want an exact match, enter:
'=John
in the criteria cell.

Oh, Thank you very much Rory. Great tip!
 
Upvote 0
Glad to help, and welcome to the forum! :biggrin:
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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