• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

convert Question

Hi Rahul ,

Another posibility :

=REPLACE(REPLACE(REPLACE(A1,2,,"."),6,,"-"),10,,".")

where A1 has the value 28838210.

Narayan
 
@Syedali

Your formula works perfectly for the example given, but if there are any more numbers you have problems - try it.
28838210
28838211
28838212
28838213
28838214
28838215
 
Hi Rahul,

You've got formula solutions, here is the custom format:
#"."###"-"###,".0"
%%\%\%


Length of string must be same.

Regards,
 

Attachments

  • Custom Format.xlsx
    8.5 KB · Views: 3
Back
Top