Forum

Notifications
Clear all

What could be wrong in this formula? =LEFT(A2,2)&","&RIGHT(A2,LEN(A2)-2)

3 Posts
3 Users
0 Reactions
135 Views
(@Anonymous)
Posts: 0
New Member Guest
 

What I need it: 6177164 to be 61,77164 in the neighboring column.

I use this formula: =LEFT(A2,2)&","&RIGHT(A2,LEN(A2)-2)

When I tried to execute this formula now, I get an error window.

There's a problem with this formula. Not trying to type a formula?

When the first charcter is an equal(=) or minus (-) sign, Excel thinks it's a formula.

you type: =1=1, cell shows : 2

To get around this, type an apostrphe (') firts:

you type: '=1=1, cell shows: =1+1

Anybody know why this just started or how tosolve it? Any help would be greatly appreciated.

 
Posted : 29/05/2022 9:05 am
(@mynda)
Posts: 4761
Member Admin
 

I can't replicate this issue. When I enter that formula it returns 61,77164

 
Posted : 29/05/2022 6:34 pm
Riny van Eekelen
(@riny)
Posts: 1194
Member Moderator
 

I suspect that your system uses the semi.-colon as the list separator.

Try  =LEFT(A2;2)&","&RIGHT(A2;LEN(A2)-2)

Of course, you are aware that this creates a text. In case you intend to output a number with 5 decimals you could try this:

= A2 / 100000

 
Posted : 30/05/2022 12:42 am
Share: