Advanced finding in Excel

D Patel
D Patel used Ask the Experts™
on
Hello Experts,

Can anybody help me in finding some special symbols, other language characters etc... by using the Excel find option.

Sample :

Atlastek Boru.Şti.
Hasl Speciál
Hasl - Nerez Speciál
Stål A/S
Mos.Şti
Nart Çelik td. Şti.
Česká Rep
Česká Rep
Česká Rep
Česká Rep
VarzTic. Ld Şti.

From the above I want to find characters such as "Ş", "Č", "á" etc...

I've more than 10000 rows and out of them I want to identify such symbols.

How do I? Any help will be highly appreciated..

Thanks in advance,
D Patel
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
NorieAnalyst Assistant

Commented:
Do you have a list of the characters you are looking for?
D PatelD Patel, Software Engineer

Author

Commented:
No, It could be anything other than a-z, A-Z, 0-9, ~!@#$%^&*()_-+=`;":' etc...
NorieAnalyst Assistant
Commented:
The characters you say you are looking for, eg Ş, á etc,  aren't in tge character list a-z, A-Z, 0-9, ~!@#$%^&*()_-+=`;":'.
D PatelD Patel, Software Engineer

Author

Commented:
It will be great help if it is possible.

I mean I don't have an idea whether the character which I am going to find is exist or not.
Finance Analyst
Commented:
Each of those special characters will have their own ASCII code so it should be able to check a range of code values.

A to Z = 65 to 90
a to z = 97 to 122

See attached sheet, it looks like the characters that you are searching for are in the range 192 to 255, exceptions to range are 142, 158 and 159 (Ž, ž and Ÿ).

To get the equivalent codes for letters you can use the function:

=CODE(Letter)   if applied to a string/word it looks at the first character

In reverse:

=CHAR(Code)   gives the the letter/symbol.

To check a string for the occurrence of a range of characters, you would need a User Defined Function or it might be possible with an array formula.
ASCII-Codes.xlsx
D PatelD Patel, Software Engineer

Author

Commented:
Hi Rob Henson,

Thank you for your help...

Assume my sheet has 20000+ rows and If I want to find the characters with Ascii Code between 162 to 191, then how do I enter search string in find dialog.

Thanks in advance.
D Patel
Rob HensonFinance Analyst
Commented:
Doing a manual Find you would type Alt + 4 digit code (3 digit code with leading 0) on the number keypad. Doing this for 30 characters is going to be tedious so probably need some VBA to run through each.

I started working on a User Defined Function but with little success.

Thanks
Rob H
D PatelD Patel, Software Engineer

Author

Commented:
Thanks for support
D PatelD Patel, Software Engineer

Author

Commented:
Thanks Experts for the Help....

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial