Select the text you want to format
Go to the Home tab
Click the Superscript button to make text superscript
Click the Subscript button to make text subscript
Use Ctrl + Shift + = for superscript
Use Ctrl + = for subscript
On Mac, use Command + Shift + = for superscript
On Mac, use Command + = for subscript
