Life just isn't cut and dried. Sometimes when you're filtering you don't want to just say "give me all the people whose last name is Hanson." You want Hanson, Hansen, and Hansengaaardennn (those Dutch really go for the jawbreaker names).
You'd like to filter out everyone except those whose names contain "Hans".
Here's how to do that. Select the item in the Comparison Field from the dropdown list in the standard filter, then type what you want in the other field. Click More, and select Regular Expressions, then click OK.
Example of what you want |
What to enter in the Condition field |
Syntax for what to enter in the Value field |
Example of what to enter in the Value field |
Begins with Hans |
= |
^x.* |
^Hans.* (you can also skip the ^, I've found) |
Does not begin with Hans |
<> |
^x.* |
^Hans.* |
Ends with Hans |
= |
.*x$ |
.*Hans$ |
Contains Hans |
= |
.*x.* |
.*Hans.* |
Does not contain Hans |
<> |
.*x.* |
.*Hans.* |
Here are some examples. Let's say you want all names that start with Hans, but not all names that simply contain Hans.
Select all the data, or just click in the headings, and choose Data > Filter > Standard Filter. Make the window look like this.
Click OK and you get this; Bob Montrahans is not included. (It's not because of the case.)
Here's a different example. I want names that DON'T CONTAIN the series of letters Hans.
The window with the restrictions:
And the results.
Here's some information from the OOo wiki about regular expressions.
A more detailed explanation about regular expressions, in general, can be found here: http://www.regular-expressions.info/
Posted by: Anonymous | June 24, 2009 at 08:25 PM
For more information please keep an eye on cheap jordan shoes .
Posted by: air jordan shoes | June 28, 2009 at 08:00 PM
They are able to provide a world of warcraft gold service at first time when it came out.
Such as the Burning Crusade comes, we provider runescape money and runescape accounts service.
Posted by: runescape gold | July 05, 2009 at 06:37 PM
http://www.gamegoldme.com/
http://www.wowgold-powerleveling.com/
http://www.wowgold-wow.com/
http://www.wowpowerleveling.me
http://www.watchrolexshop.com
http://www.wowgold-wow.com/wow-power-leveling
http://rs-runescapegold.com/
http://www.watchrolexshop.com/wow-power-leveling/
http://www.cheap-lotrogold.com/
http://www.globalsale.me/Aion-gold-083.aspx
http://www.cheap-gamegold.org
http://www.gamegoldvip.org
http://www.globalsale.me/
Posted by: wow power leveling | July 05, 2009 at 10:55 PM
i m unable to filter data on multiple sheets of one workbook....please suggest the solution
Posted by: Ruchi Chouhan | August 14, 2009 at 03:31 AM
we provider runescape money and runescape accounts service.
Posted by: metin2 yang | February 04, 2010 at 11:28 PM
They are able to provide a world of warcraft gold service at first time when it came out.
Posted by: metin2 yang | February 04, 2010 at 11:29 PM