ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Can search see characters following ^~ in excel ? (https://www.excelbanter.com/excel-discussion-misc-queries/97600-can-search-see-characters-following-%5E%7E-excel.html)

Geoff Thomas

Can search see characters following ^~ in excel ?
 
My spreedsheet looks for unix printer aliases and matches them to numeric
code values. However excel cannot see past "^~" characters and hence does not
find a match eg "5CQ-MKPCTCC^~CC^~5CQ-CCCAMPBW" will only see
"5CQ-MKPCTCC^~". Can you tell me if there is a work around?

Bearacade

Can search see characters following ^~ in excel ?
 

the Tilde is a special character in Excel..

So to do a search, put another Tilde in front of it..

5CQ-MKPCTCC^~~CC^~~5CQ-CCCAMPBW

This is also true with the * and ?


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=558518


Ron Rosenfeld

Can search see characters following ^~ in excel ?
 
On Wed, 5 Jul 2006 09:48:02 -0700, Geoff Thomas <Geoff
wrote:

My spreedsheet looks for unix printer aliases and matches them to numeric
code values. However excel cannot see past "^~" characters and hence does not
find a match eg "5CQ-MKPCTCC^~CC^~5CQ-CCCAMPBW" will only see
"5CQ-MKPCTCC^~". Can you tell me if there is a work around?


There is no inherent reason for what you write "excel cannot see past "^~" "

Most likely, your SEARCH string is incorrect. Since the tilde is used to
qualify wild card characters, when you want to search for an actual tilde
followed by a non-wildcard character, you need to type a double tilde. eg:

=SEARCH("^~~5CQ",A1)


--ron

Geoff Thomas

Can search see characters following ^~ in excel ?
 
Thanks for your answer, I t has led me to another problem. Excel now does the
search, but comes up with the wrong data. How do I gt it to do an exact match
when searching and if not found return ith a N/A?

"Bearacade" wrote:


the Tilde is a special character in Excel..

So to do a search, put another Tilde in front of it..

5CQ-MKPCTCC^~~CC^~~5CQ-CCCAMPBW

This is also true with the * and ?


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=558518




All times are GMT +1. The time now is 03:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com