If you want say column A and row 1 frozen, select just B2 then use Freeze panes.