How to create custom cell formats in Apple Numbers.
I really like spreadsheets. Lately, Iâ€™ve been building spreadsheets about electronics stuff in Numbers, which is Appleâ€™s version of Excel. I was curious about how to use custom cell formatting to display the correct unit abbreviations on values. Hereâ€™s how I did it for Ohms, the SI derived unit for electrical resistance.
- Click in the cell you want to format.
- Hitting Option (âŒ¥) + Command (âŒ˜) + I opens the Inspector window. Itâ€™s also available in the menu bar under View > Show Inspector.
- Click the Cells tab (it looks like a little 42 in a box).
- Under Cell Format heading choose Customâ€¦ from the drop down menu.
- In the Name field type â€œOhmsâ€ (without the quotes).
- Make sure â€œNumber & Textâ€ is selected in the Type drop down menu.
- From the Number & Text Elements field drag the Decimals (.##) element into the field with the existing Integers (#,###) element in it.
- Add a space after the Decimals element, then type the symbol for Ohms, which is the omega character (Î©). The keyboard shortcut for this is Option (âŒ¥) + Z.
- Click the plus (+) button on the right twice to add two more conditions.
- In the first added condition, select â€œIf greater than or equal to â€¦â€ from the drop down menu.
- In the field to the right of that drop down type â€œ1000000â€ (one million without the quotes).
- In the element field below that, make sure thereâ€™s an Integers element, a Decimals element, a space, a Scale element set to Millions (M), and finally an omega.
- For the second condition you added do the exact same thing as above, but enter â€œ1000â€ (one thousand without quotes) and set the Scale element to Thousands (K).
- If everything looks like the screenshot below, hit OK.
Now when you type a value into that field, it should automatically format into Î©, KÎ©, and MÎ©. If not, go to step 4 and double check that everything was entered correctly.
Your newly created formatting will be added to the Cell Format drop down. You can now select other cells and apply this custom formatting to them. The custom format will be saved in this Numbers file.
Try creating custom cell formats for other SI Units too.No Comments >