Freezing both the top row and first column in Excel

The internet tells me to go to view, freeze panes and then press freeze top row and freeze first column as two actions.  When I do that I can only do one at a time, the instruction to freeze column seems to wipe freeze top row and vice versa.  Any idea what I am doing wrong?