Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
bereid
 
Posts: n/a
Default How to use AdvancedFilter wildcard to match end of string?

Using AdvancedFilter, I would like to match fields whose text values
END with a specific character. For example, I'd like *o to match
'hippo', 'banjo', but NOT 'support'. Currently, when I apply the *o
criterion, I get results that include all fields with an 'o' in any
character position.

Can someone please show me how to restrict the match to the end of the
string only?

One caveat: I imagine this may require use of a formula criterion,
rather than the more simple form using column headings in the criteria
range. But if it's possible to accomplish this both ways, could you
please describe them both?

Thanks very much,
Bruce Reid

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default How to use AdvancedFilter wildcard to match end of string?

Can you use Autofilter?

You can specify "Ends with" 0 under the custom option.

But if you have to use advanced filter, this criteria worked ok for me:

HeaderHere
="=*o"



bereid wrote:

Using AdvancedFilter, I would like to match fields whose text values
END with a specific character. For example, I'd like *o to match
'hippo', 'banjo', but NOT 'support'. Currently, when I apply the *o
criterion, I get results that include all fields with an 'o' in any
character position.

Can someone please show me how to restrict the match to the end of the
string only?

One caveat: I imagine this may require use of a formula criterion,
rather than the more simple form using column headings in the criteria
range. But if it's possible to accomplish this both ways, could you
please describe them both?

Thanks very much,
Bruce Reid


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
bereid
 
Posts: n/a
Default How to use AdvancedFilter wildcard to match end of string?

Dave, this worked beautifully!! Thank you very much for the great (and
quick) response.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wildcard string Robo Excel Discussion (Misc queries) 2 November 22nd 05 03:26 PM
Wildcard MATCH() breaks on long (?) strings [email protected] Excel Worksheet Functions 6 May 6th 05 02:11 AM
LOOKING UP A TABLE/SHEET AND MATCH FOR A STRING OR NUMBER Charles Excel Discussion (Misc queries) 2 April 24th 05 06:11 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM
Find a match that;s not exact Phyllis Excel Worksheet Functions 0 November 8th 04 08:12 PM


All times are GMT +1. The time now is 07:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"