I like to use custom number formatting in Excel to append units to measurement data. As an example, I would use the following custom format to append the letter m (for meters) to a number:
0.0" m"
But let’s say the units were something a bit more complex, like m[sup]4[/sup] kg[sup]-2[/sup]. Is there a way to do this using custom formatting?
Do you just need sub- and superscripts? If so, you can highlight the text you want to change, right click, select Format Cells, and then check Subscript or Superscript (under Effects). It’ll only alter the text you highlighted.
(ETA: Just to be clear, for your example, you’d just type “m4kg-2”, highlight the 4 and do the above, then repeat for the -2.)