Searching for unusual characters

ollyhughes1982

Well-known Member
Joined
Nov 27, 2018
Messages
723
Office Version
  1. 365
Platform
  1. MacOS
Hi,

Re this strange character 'ʷ': Is there a way that you can do a search on it specifically? I have an alphabet-related parkrun challenge worksheet that looks for all letters within parkrun names. This strange character has appeared in one of the most recent new events. But, when I use my normal formula to search for this character, it is picking up the first event where the name included 'W' (Newport parkrun), rather than being blank, as I haven't yet completed the only event name that currently contains this character.

Is there perhaps a way to search on it's ASCII code or something, rather than the actually character, to prevent it looking for 'W' or 'w'?

The function that i have used up until now, that looks for the value in column A, is as follows:

=IFERROR(IF(A48<>"",XLOOKUP("*"&A48&"*",'All Completed Runs'!$C$4:$C$2003,'All Completed Runs'!$C$4:$C$2003,,2),""),"")

Screenshot 2024-05-14 at 12.50.20.png


There is some background to this in two other previous threads:

List of unique characters from a list

List of unique characters from a list

Thanks in advance!

Olly.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
For starters, you're looking into column C instead of B.
Column C is correct, it's column C of another worksheet. The page works perfectly except for the one unusual character, it's 'seeing' it as a normal 'W'.
 
Upvote 0
Do you want all results that contain the character or just the first one?
 
Upvote 0
Exactly the same as the other ones; only the first time I ever completed a run where the run name contains that character. I was wondering whether there might be a solution to perhaps add the 'CODE' function into the formula so that it converts the A48 value within the formula and it will then find the correct one? Rather than returning where it finds 'W'.
 
Upvote 0
Ok, try
Book1
ABCD
1This is a special character ʷʷThis is a special character ʷ
2Strathaven junior parkrun- 
3Ōrākei Bay parkrunJJan Alfano Trail parkrun
4Veterans Park parkrunU 
5Otago Central Rail Trail parkrun, Alexandra. 
6The Fisherman‘s Walk parkrun# 
7parkrun Las Miejski1 
8Holmebrook Valley junior parkrun2 
9Fulwell Quarry parkrun3 
10Morden parkrun4 
11Lake Pacawa parkrunø 
12Halsema Trailhead parkrunð 
13Battersea junior parkruná 
14Athlone RSC parkrunń 
15Emerald Resort parkrunŁ 
16Jan Alfano Trail parkrunó 
17Terra Nova parkrunź 
18Bay East Garden parkrunł 
19Y Promenâd parkrunŻ 
20Tollgate Farm Park parkrun, baqʷabqTollgate Farm Park parkrun, baqʷab
Sheet3
Cell Formulas
RangeFormula
D1:D20D1=XLOOKUP(TRUE,ISNUMBER(FIND(B1,$A$1:$A$20)),$A$1:$A$20,"")
 
Upvote 0
If it is not a normal character I don't see how you'll find it that way (but happy to be proved wrong).
Try this in the immediate window of the vba editor: ?ascw(sheets("D").range("L10"))
Change your sheet and range references to suit. If you get a number higher than 255, it's probably a Unicode character. I imagine you could find such characters with a vba procedure if you can't get a formula to work.
 
Upvote 0
Ok, try
Book1
ABCD
1This is a special character ʷʷThis is a special character ʷ
2Strathaven junior parkrun- 
3Ōrākei Bay parkrunJJan Alfano Trail parkrun
4Veterans Park parkrunU 
5Otago Central Rail Trail parkrun, Alexandra. 
6The Fisherman‘s Walk parkrun# 
7parkrun Las Miejski1 
8Holmebrook Valley junior parkrun2 
9Fulwell Quarry parkrun3 
10Morden parkrun4 
11Lake Pacawa parkrunø 
12Halsema Trailhead parkrunð 
13Battersea junior parkruná 
14Athlone RSC parkrunń 
15Emerald Resort parkrunŁ 
16Jan Alfano Trail parkrunó 
17Terra Nova parkrunź 
18Bay East Garden parkrunł 
19Y Promenâd parkrunŻ 
20Tollgate Farm Park parkrun, baqʷabqTollgate Farm Park parkrun, baqʷab
Sheet3
Cell Formulas
RangeFormula
D1:D20D1=XLOOKUP(TRUE,ISNUMBER(FIND(B1,$A$1:$A$20)),$A$1:$A$20,"")
Not sure how I would put this into cell B48. The current formula works in them all, except it just doesn't recognise the special character. Can I just add part of your into mine to get it to pick up the character? What did you do to make it recognise that character?
 
Upvote 0
Replace your current formula with this.
Excel Formula:
=XLOOKUP(TRUE,ISNUMBER(FIND(A48,'All Completed Runs'!$C$4:$C$2003)),'All Completed Runs'!$C$4:$C$2003,"")
 
Upvote 0
Replace your current formula with this.
Excel Formula:
=XLOOKUP(TRUE,ISNUMBER(FIND(A48,'All Completed Runs'!$C$4:$C$2003)),'All Completed Runs'!$C$4:$C$2003,"")
Will give that a try now. Will this work for the others as well, or shall I leave the same. I'd rather have the same format of formula in all rows, if possible
 
Upvote 0

Forum statistics

Threads
1,217,055
Messages
6,134,331
Members
449,866
Latest member
veeraiyah

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top