To do Alt + P V H on Mac in Excel, download and install Accelerator Keys, then press Option, followed by P, V, and H.
Command: View Headings
This is how to do Alt + P V H 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 + P V H toggles the display of row and column headings (the numbers 1, 2, 3… on the left and letters A, B, C… at the top). Hiding headings can be useful for screenshots or when presenting data.