1. Open your Excel worksheet.
2. Click the column to the right of the column(s) you want to freeze.
3. Go to the View tab.
4. Click Freeze Panes.
5. Select Freeze Panes from the dropdown.
6. Now, the selected columns will stay visible while scrolling.