Excel formula help - remove character from a certain position within a string

p4nny

Board Regular
Joined
Jan 13, 2015
Messages
246
Hi

I would like to replace the the last "." with a "0"

[TABLE="width: 64"]
<colgroup><col width="64" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl63, width: 64"]1.1.7[/TD]
[/TR]
[TR]
[TD="class: xl63, width: 64"]1.1.8[/TD]
[/TR]
[TR]
[TD="class: xl63, width: 64"]1.1.9[/TD]
[/TR]
[TR]
[TD="class: xl63, width: 64"]1.1.10[/TD]
[/TR]
[TR]
[TD="class: xl63, width: 64"]1.1.11[/TD]
[/TR]
</tbody>[/TABLE]

Much appreciated
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Book1
AB
11.1.71.107
21.1.81.108
31.1.91.109
41.1.101.1010
51.1.111.1011
61.1.1.1.1.11.1.1.1.101
722
Sheet1
Cell Formulas
RangeFormula
B1=IFERROR(SUBSTITUTE($A1,".","0",LEN($A1)-LEN(SUBSTITUTE($A1,".",""))),$A1)


WBD
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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