Useful number format for stock prices in Asia
Imagine you need a number format to display stock prices from different countries so that they are easily readable. Some countries such as Singapore have stock prices to 2 decimal places, e.g. Singapore Airlines (S$10.77), or 3 decimal places, e.g. Starhill Global REIT (S$0.695), while others such as Korea have stock prices in the thousands with no decimal places, e.g. Samsung Electronics (KRW 2,581,000). The table below shows what you want:
A useful custom number format that you can use is:
[>1000]#,###;[>=2]#,##0.000;0.00
Essentially, this number format says that:
– if the number is at least 1000, it will be displayed with no decimal places, with a comma as a thousands separator;
– if the number is between 2 to 1000 inclusive, it will be displayed with 3 decimal places;
– the rest of the numbers (i.e. those less than 2) will be displayed with 2 decimal places.
This should work for the majority of share prices, though there would be some exceptions that will not be displayed to the desirable state, especially with US share prices, e.g. Amazon (US$ 1,508.95 will be displayed as US$1,509.)
For an overview of how custom number formats work, click here.
