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

Formatting - chose different type of number format/round based on value

wintermute

New Member
Hi all,


is there a way to format number type based on value?

My target is to format number like


7856 as 7K

3 234 567 as 3M

234 as 234


all that with just one format setting?


I've tried

[>10000]0 "K";[>1000000]0 "M";[<1000]0 ' using central Europe regional settings but it won't work as requested.
 
Need to have the largest value listed first, work down from there:

[>=1000000]0,,"M";[>=1000]0,"K";0
 
Back
Top