user2241925
user2241925

Reputation: 351

Custom number format: comma preceding last two digits

How do I format numbers in cells as follows:

I tried ##,##, but this formats 42343 as 42,343 instead of the desired 423,43

####,## also not working.

Upvotes: 2

Views: 3143

Answers (3)

Anonymous
Anonymous

Reputation: 1

Go into Format>Cells>Custom and type in :

0","00

Upvotes: 0

This custom format code works for the examples in your question:

[>=100]#\,#0;#

Upvotes: 2

userNaN
userNaN

Reputation: 526

Try: =IF(LEN(A1)<3,A1,REPLACE(A1,LEN(A1)-1,0,","))

Upvotes: 0

Related Questions