Similarly, if you wish to write subscripts, open the Format Cells dialog and check the box for Subscript to input subscripts.
And input subscripts if you need to.
So here, the article has guided you on how to write exponents in Excel. Hopefully, this article will be helpful to you.
Wishing you success!