=SUBSTITUTE(A1,B1, "~") ignore accents?

Windy Skies

New Member
Joined
Dec 27, 2012
Messages
47
Hi,

I have the two left columns. Note the accents in the columns, which are often not the same between columns 1 & 2. (I could delete the accents in column 1 but not column 2). My desired result is in column 3. Is this possible?

aìyīnsītǎntā zìrán búshì ~.
àibùshìshǒutā duì nàtái bǐjìběndiànnǎo ~.

<tbody>
[TD="class: xl66"]tā zìrán búshì àiyīnsītǎn.[/TD]

[TD="class: xl66"]tā duì nàtái bǐjìběndiànnǎo àibúshìshǒu.[/TD]

</tbody>
 
Last edited:

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Please clarify... are you always replacing the LAST word with the tilde symbol as your two examples show?
 
Upvote 0
Nope. Thanks for your reply.

Okay then, are you replacing just the word you are looking up with the tilde leaving the text following it (when there is text following it) alone or are you replacing all text from the word you are looking up to the end of the text with the tilde?
 
Upvote 0
Some other examples (without the accents):

[TABLE="width: 414"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]airen[/TD]
[TD]wo de airen zai jia[/TD]
[TD]wo de ~ zai jia[/TD]
[/TR]
[TR]
[TD]wo[/TD]
[TD]ta he wo bu zai jia[/TD]
[TD]ta he ~ bu zai jia[/TD]
[/TR]
</tbody>[/TABLE]

Column 1 is a word that can occur anywhere in column 2 (an example sentence). I would like to replace only the word, nothing else.
 
Upvote 0
I think the op is asking for something like this:
<b>Sheet1</b><br /><br /><table border="1" cellspacing="0" cellpadding="0" style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; padding-left:2pt; padding-right:2pt; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:89px;" /><col style="width:226px;" /><col style="width:267px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >A</td><td >B</td><td >C</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >1</td><td >aìyinsitan</td><td >ta zìrán búshì àiyinsitan</td><td >ta zìrán búshì ~</td></tr></table> <br /><br /><span style="font-family:Arial; font-size:9pt; font-weight:bold;background-color:#ffffff; color:#000000; ">Excel tables to the web >> </span>

The word has to be replaced even though the accent marks don't match. Is this what you are after?
 
Upvote 0
I think it will take a little VBA to do this, is there any way you can supply a list of all the characters that would have these accents?
 
Upvote 0
Thanks for your reply.

I think this is all of them. If you're interested, these are the 5 tones of Chinese pinyin (the 5th is neutral and without a mark).

āáǎàa
ēéěèe
īíǐìi
ōóǒòo
ūúǔùu
ǖǘǚǜü

The file has some 40k rows.
 
Upvote 0

Forum statistics

Threads
1,224,889
Messages
6,181,606
Members
453,055
Latest member
cope7895

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