# Inserting decimal inbetween text / numbers

##### New Member
Hi,
I got these from previous post.

=IF(LEN(A1)=3,LEFT(A1,1)&"."&RIGHT(A1,2))

1 = 0.01 IF(LEN(A1)=1,LEFT(A1,0)&"0.0"&RIGHT(A1,1))
22 = 0.22 IF(LEN(A1)=2,LEFT(A1,0)&"0."&RIGHT(A1,2))
333 = 3.33 IF(LEN(A1)=3,LEFT(A1,1)&"."&RIGHT(A1,2))
.
.
.
Until 10 digits.

1234567890 = 12345678.90

But the problem arise because nested 'if" can only be use up to 7 times.

What should I do to insert the decimal just by stating "To put decimal two character from the right disregard how many character it is on the left and at the same time converting it from text to numbers(value)?"

Thanks for the help.

### Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Why don't you convert to numeric first and divide by 100?

Code:
``=VALUE(A1)/100``

Gee...

I never thought of that...
Thanks a million man.

I felt so stupid now

Replies
7
Views
730
Replies
14
Views
780
Replies
1
Views
652
Replies
5
Views
332
Replies
10
Views
1K

1,203,172
Messages
6,053,888
Members
444,692
Latest member
Queendom

### 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.

### Which adblocker are you using?

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

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