Advanced finding in Excel

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
LVL 7
D PatelD Patel, Software EngineerAsked:
Who is Participating?
 
Rob HensonFinance AnalystCommented:
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
0
 
NorieVBA ExpertCommented:
Do you have a list of the characters you are looking for?
0
 
D PatelD Patel, Software EngineerAuthor Commented:
No, It could be anything other than a-z, A-Z, 0-9, ~!@#$%^&*()_-+=`;":' etc...
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
NorieVBA ExpertCommented:
The characters you say you are looking for, eg Ş, á etc,  aren't in tge character list a-z, A-Z, 0-9, ~!@#$%^&*()_-+=`;":'.
0
 
D PatelD Patel, Software EngineerAuthor 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.
0
 
D PatelD Patel, Software EngineerAuthor 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
0
 
Rob HensonFinance AnalystCommented:
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
0
 
D PatelD Patel, Software EngineerAuthor Commented:
Thanks for support
0
 
D PatelD Patel, Software EngineerAuthor Commented:
Thanks Experts for the Help....
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.