جیم تعجب می کند که چگونه می تواند اکسل را برای نمایش خودکار اعداد با استفاده از "k" برای هزاران و "m" برای میلیون ها به دست آورد. به عنوان مثال، اگر سلولی حاوی مقدار 470000 دلار باشد، مایل است به صورت 470 هزار دلار نمایش داده شود. اگر حاوی مقدار 1,107,432 دلار باشد، او مایل است به عنوان 1.1 میلیون دلار نمایش داده شود.
یکی از روش های واضح ایجاد فرمولی است که اطلاعات را به دلخواه نمایش دهد. فرمول زیر بزرگی عدد را در سلول B2 در نظر می گیرد و سپس یک رشته متن فرمت شده متناسب با آن بزرگی ارائه می دهد:
=IF(B2 < 1000,B2,IF(B2
Remember that this is a single formula and should be entered entirely on one line. The drawback with such an approach, of course, is that the formula takes up space within your worksheet. To get around this you could, instead, create a custom format that will simply affect the display of the number in the cell.
To create a custom format, display the Home tab of the ribbon and click the small icon at the lower-right corner of the Number group. In the resulting dialog box, click Custom at the left side. Heres the custom format you should create in the dialog box:
[>1000000]$#.0,,"m";[>1000]$#,"k";$#,##0
This format will display both millions and thousands using the desired notation. If the number is below a thousand then it will be displayed without any special notation. As appropriate, values are rounded to one decimal place.