Freeze Panes locks rows or columns in place so titles stay on screen as you scroll.
Do it with AI insteadPosition the selection
Click the cell below and to the right of everything you want frozen.
Open Freeze Panes
Go to View ▸ Freeze Panes.
Choose an option
Pick Freeze Panes, Freeze Top Row, or Freeze First Column.
View ▸ Freeze Panes ▸ Unfreeze Panes.