ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Advanced filter criteria (https://www.excelbanter.com/excel-discussion-misc-queries/255181-advanced-filter-criteria.html)

Andy Faulkner

Advanced filter criteria
 
I am using the AdvancedFilter technique to filter a large data set.

Everything works fine. I am searching in a particular column for text
matching the following pattern:

="=*TEXT*"

and this works well. However, I need to use this filter to find records
that contain double quote marks: " (the column contains part descriptions
like '17" alloy wheels' and I want to filter out all the ones containing 17")

If I include them in the expression, it doesn't work - I can't work out how
to specify the criteria to include the quote marks. This isn't accepted:

="*17"*"

but any ideas as to what will be accepted?!

Thanks

Jacob Skaria

Advanced filter criteria
 
diPrefix with tilde ~

equals *~"*

or

contains ~"

--
Jacob


"Andy Faulkner" wrote:

I am using the AdvancedFilter technique to filter a large data set.

Everything works fine. I am searching in a particular column for text
matching the following pattern:

="=*TEXT*"

and this works well. However, I need to use this filter to find records
that contain double quote marks: " (the column contains part descriptions
like '17" alloy wheels' and I want to filter out all the ones containing 17")

If I include them in the expression, it doesn't work - I can't work out how
to specify the criteria to include the quote marks. This isn't accepted:

="*17"*"

but any ideas as to what will be accepted?!

Thanks


Andy Faulkner[_2_]

Advanced filter criteria
 
Excel won't let me enter that formula. The formula has to be entered like
this:

="=*~"*"

but Excel won't accept that and gives an error in formula.

"Jacob Skaria" wrote:

diPrefix with tilde ~

equals *~"*

or

contains ~"

--
Jacob


"Andy Faulkner" wrote:

I am using the AdvancedFilter technique to filter a large data set.

Everything works fine. I am searching in a particular column for text
matching the following pattern:

="=*TEXT*"

and this works well. However, I need to use this filter to find records
that contain double quote marks: " (the column contains part descriptions
like '17" alloy wheels' and I want to filter out all the ones containing 17")

If I include them in the expression, it doesn't work - I can't work out how
to specify the criteria to include the quote marks. This isn't accepted:

="*17"*"

but any ideas as to what will be accepted?!

Thanks



All times are GMT +1. The time now is 05:14 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com