I am trying to freeze a column and a row on excel. I have highlighted the column to the right and then the one below and clicked on freeze panels. However it has only done one of them instead of both. Why?

I have tried doing it a few times and it will alternate between which panels it freezes, but wont do both at the same time.