The Bloomberg Terminal has an interesting way of formatting numbers. I want to imitate this format in Excel, but have been struggling to get it to make it work.
Examples of the formatting I want is:
Any help would be greatly appreciated!
Interesting question. Here's one more solution that you can use (independent of the number of zeros):
=TEXT(LEFT(A1,LEN(A1)-((LEN(A1)-LEN(SUBSTITUTE(A1,0,"")))-MOD((LEN(A1)-LEN(SUBSTITUTE(A1,0,""))),3))),"#,##")&REPT("M",(LEN(A1)-LEN(SUBSTITUTE(A1,0,"")))/3)
LEN(A1)-LEN(SUBSTITUTE(A1,0,""))
part is counting how many times "0" is occurring in a given string.
The result looks like that: