Home |
Search |
Today's Posts |
#8
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Depends on the frequency of particular nonalpha characters. If the
nonalphas were random with few if any multiple instances in any cell, then your approach may be faster. But if there were multiple instances of particular characters, getting rid of all of them (and shortening the string in the process) could be faster. There is nothing like knowing the data you are working with when designing an algorithm. Also, you don't need to insert " " for instances of " " in mystr, so make the second Like pattern "[!A-Za-z ]". LOL... Good catch... It always surprises me how easy it is to overlook the obvious. Rick |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Clean non printable characters and replace with space | Excel Worksheet Functions | |||
help wanted to clean up a data sheet | Excel Discussion (Misc queries) | |||
How to rename Excel Sheet with more characters? | Excel Discussion (Misc queries) | |||
clean characters | Excel Discussion (Misc queries) | |||
search in the entire sheet for different letter and cal. | Excel Worksheet Functions |