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 >