To do Alt + H F Q M on Mac in Excel, download and install Accelerator Keys, then press Option, followed by H, F, Q, m.
Command: Format Cell Alignment
This is how to do Alt + H F Q M on Mac in Excel with Accelerator Keys, the native ribbon and alt key shortcut solution for Mac users who get more done with Excel.
Alt + H F Q M opens the Format Cells dialog directly to the Alignment tab, where you can set precise text rotation angles, indentation, Other alignment options.