Excel

How to Freeze Columns in Excel

Lock specific columns in place so they remain visible while you scroll through your data. Learn how to freeze the first column or multiple columns in Excel.

By ShortcutSearch.app Editorial CrewPublished Updated 5 min read

Excel spreadsheet showing frozen Employee ID and Name columns while scrolling through monthly data
Freeze important Excel columns so key information stays visible while you scroll horizontally.— ShortcutSearch.app Editorial Crew

Quick Answer

To freeze multiple columns:

Alt→W→F→F

Select the column to the right of the columns you want to freeze, then use the Freeze Panes command.

View Shortcut
On This Page
  1. Why Freeze Columns in Excel?
  2. How to Freeze the First Column
  3. How to Freeze Multiple Columns
  4. Example: Freezing Employee ID and Name Columns
  5. How to Unfreeze Columns
  6. Common Mistakes to Avoid
  7. Example: keep order identifiers and headers visible
  8. Check your Excel version
  9. Related Shortcuts
  10. FAQ

Why Freeze Columns in Excel?

When working with large datasets in Excel, scrolling horizontally often means losing sight of important identifier columns, like names, dates, or product IDs. Freezing columns locks them in place, so they remain visible no matter how far to the right you scroll. This makes it much easier to read and analyze your data without constantly scrolling back and forth.

Excel provides a few ways to do this: you can quickly freeze just the first column, or you can use the more flexible Freeze Panes command to lock any number of columns starting from the left.

How to Freeze the First Column

If your key identifier is in Column A, Excel has a dedicated command to lock it instantly. This is useful for lists where the first column contains the primary label for each row.

  1. Click anywhere in your worksheet. The location of your active cell doesn't matter for this specific command.
  2. Use the dedicated command to freeze the first column.
  • Windows Shortcut: Press Alt → W → F → C in sequence.
  • Menu Path: Navigate to View → Freeze Panes → Freeze First Column (on Windows) or View → Freeze First Column (on Mac). On Excel for the web, the path is View → Freeze → Freeze first column.

After using this command, you will see a thin vertical line indicating that Column A is now locked. You can find more details on our Freeze First Column page.

How to Freeze Multiple Columns

For datasets where you need to see more than just the first column (e.g., both an ID and a name), you'll need the more general Freeze Panes command. The key is to select the column immediately to the right of the columns you wish to freeze.

  1. Select the correct column. Click on the column header to select the entire column that should be the first one to scroll. For example, to freeze columns A and B, you must select column C.
  2. Apply the Freeze Panes command. This will lock all columns to the left of your selection.
  • Windows Shortcut: Press Alt → W → F → F one after another.
  • Menu Path: Go to View → Freeze Panes → Freeze Panes.

Example: Freezing Employee ID and Name Columns

Imagine a spreadsheet where Column A contains Employee IDs, Column B contains Employee Names, and columns C through M contain monthly performance metrics. To analyze the metrics for later months without losing track of which employee you're looking at, you need to freeze columns A and B.

  1. Click on the header for Column C. This tells Excel you want everything to its left to be frozen.
  2. Use the Freeze Panes command via the menu or the Alt → W → F → F shortcut.

A vertical line will appear between columns B and C. Now, as you scroll to the right to view data in columns L or M, columns A and B will remain firmly in place.

Pro tip: You can freeze both rows and columns at the same time. To do this, select the single cell that is below the rows and to the right of the columns you want to freeze. For example, selecting cell C2 before using the Freeze Panes command will freeze Row 1 and Columns A and B.

How to Unfreeze Columns

Once you're done, or if you need to change which columns are frozen, you must unfreeze them. The Unfreeze Panes command removes all frozen rows and columns at once.

  • Unfreeze: Use View → Freeze Panes → Unfreeze Panes. Do not assume the Freeze Panes ribbon sequence is a universal toggle; check the KeyTips shown by your Excel version.
  • Menu Path: The option in the menu will change to View → Freeze Panes → Unfreeze Panes.

After executing the command, all columns and rows in your sheet will scroll normally again.

Common Mistakes to Avoid

  • Selecting the wrong column: The most common error is selecting the last column you want frozen (e.g., selecting Column B to freeze A and B). Remember, Excel freezes everything to the left of your selection. You must select the first column you want to remain scrollable.
  • Forgetting to unfreeze first: You cannot simply apply a new freeze over an existing one. If you want to change from freezing Column A to freezing Columns A and B, you must first use the Unfreeze Panes command and then re-apply the freeze with Column C selected.
  • Trying to freeze non-adjacent columns: Excel's freeze feature only works on a contiguous block of columns starting from Column A. You cannot freeze Column A and Column C while leaving Column B unfrozen. For such cases, you might consider hiding columns you don't need, such as with the Hide Column shortcut (Ctrl + 0).

Example: keep order identifiers and headers visible

Suppose column A contains Order ID, column B contains Customer, and row 1 contains the headings. Select C2, then choose View → Freeze Panes → Freeze Panes. Excel keeps rows above the selection and columns to its left visible. Scroll right and down to check that the headings and both identifiers remain in view. Freezing changes the view, not the data or formulas.

If you select C1, there is no row above the selection to freeze. If you select B2, only column A is to its left. To change the frozen boundary, use View → Freeze Panes → Unfreeze Panes, select the new boundary, and freeze again.

Check your Excel version

The ribbon sequences shown here are Windows KeyTips pressed one key at a time, not simultaneous combinations. They are not macOS equivalents. Menu labels can vary by version; use the commands visible in your installed application. No undocumented Mac or web shortcut is implied.

Source: Microsoft: Freeze panes to lock rows and columns. This explanation was checked against documentation, not hands-on tested.

ExcelShortcut

Freeze Panes

Windows
Alt→W→F→F

Locks rows above and columns left of the selected cell.

Learn More
ExcelShortcut

Freeze First Column

Windows
Alt→W→F→C

Keeps the first column visible while scrolling sideways.

Learn More
ExcelShortcut

Unfreeze Panes

Windows
Alt→W→F→U

Removes all frozen rows and columns.

Learn More
ExcelShortcut

Freeze Top Row

Windows
Alt→W→F→R

Keeps the first row visible while scrolling.

Learn More
ExcelShortcut

Hide Column

Windows
Ctrl+0

Hides the selected columns.

Learn More
ExcelShortcut

Insert Column

Windows
Ctrl+Shift++

Inserts a new column to the left.

Learn More
ExcelShortcut

Delete Column

Windows
Ctrl+-

Deletes the selected column.

Learn More

FAQ

How do I freeze the first two columns in Excel?

Select column C (the column immediately to the right of the ones you want to freeze). Then, use the Freeze Panes command. The Windows shortcut is Alt → W → F → F.

What's the shortcut to freeze columns in Excel for Windows?

To freeze only the first column, use Alt → W → F → C. To freeze a custom number of columns (and/or rows), select the appropriate column/cell and use Alt → W → F → F.

Why can't I freeze columns in Excel?

Check whether panes are already frozen. Use View → Freeze Panes → Unfreeze Panes before selecting a new boundary. If the View tab is missing, check the features available in your Excel edition.

How do I unfreeze columns in Excel?

Use View → Freeze Panes → Unfreeze Panes. Follow the KeyTips displayed by your installed Excel version rather than assuming the freeze sequence toggles it off.

Related Guides

  • How-To Guides

    Hotkey Shortcuts: What They Are and the Most Useful Ones

    Hotkey shortcuts are key combinations that perform an action instantly. Learn what hotkeys are, how they differ from regular shortcuts, and the most useful ones for Windows, Mac and popular apps.

    Windows · Microsoft Excel · Google Chrome · Updated 2026-10-16

  • How-To Guides

    Cut Shortcut: How to Cut and Paste with the Keyboard

    The cut shortcut is Ctrl + X on Windows and Cmd + X on Mac. Learn how cut and paste works, how it differs from copy, and how it behaves in Excel and Word.

    Windows · Microsoft Excel · Microsoft Word · Adobe Illustrator · Updated 2026-10-16

  • How-To Guides

    Keyboard Find Shortcut: How to Search a Page, Document or File

    The keyboard find shortcut is Ctrl + F on Windows and Cmd + F on Mac. Learn find next, find and replace, and search across files in Chrome, Excel, Word and VS Code.

    Google Chrome · Microsoft Excel · Microsoft Word · VS Code · Google Docs · Updated 2026-10-16

  • Best Shortcuts

    50 Excel Keyboard Shortcuts You Should Know

    Learn 50 essential Excel shortcuts for everyday editing, formulas, formatting, navigation, and worksheet management.

    Microsoft Excel · Updated 2026-10-08

  • Shortcuts by Profession

    Excel Shortcuts for Accountants

    Excel shortcuts for accountants, organized around ledger preparation, reconciliations, recurring schedules, and month-end review.

    Microsoft Excel · Updated 2026-10-08

  • Shortcuts by Profession

    Excel Shortcuts for Project Managers

    Excel shortcuts for project managers, organized around plan changes, status reviews, budget checks, and stakeholder reporting.

    Microsoft Excel · Updated 2026-10-13

Find More Excel Shortcuts

Search Excel keyboard shortcuts on ShortcutSearch.

Browse Excel Shortcuts