You can lock a row in Google Sheets using the Format menu to freeze it at the top of the view. This keeps key headers or summary rows visible even as you scroll through long lists of data.

What You'll Need

  • A computer with a web browser (Google Chrome, Safari, Firefox, Edge).
  • An active internet connection.
  • Access to a Google Sheet that contains the data you want to lock.

Step-by-Step

  1. Open your spreadsheet. Navigate to Google Sheets and open the document containing the row you wish to keep from moving.
  2. Select the row. Click on the row number label located on the far left side of the sheet. For example, if you want to lock the first row, click on the number 1. This highlights the entire row.
  3. Open the Format menu. With the row selected, click on the Format option in the top menu bar. A dropdown menu will appear.
  4. Choose 'Row' and then 'Banded rows'. In the dropdown menu, hover your cursor over the Row option. A sub-menu will appear. Select Banded rows from this list.
  5. Verify the selection. Once you select 'Banded rows', the row you clicked on will now be visually banded. This visual banding is the indicator that the row is now frozen. The row will remain fixed at the top of your screen while you scroll through the rest of the sheet.

This method uses the visual banded row feature to effectively lock a row. It is distinct from the 'Freeze' feature, which is often misunderstood. The 'Freeze' option is usually found in the View menu and allows you to freeze multiple rows or columns, but the 'Banded Row' method is a simpler, single-row solution for keeping a header visible.

Common Mistakes

  • Mixing up 'Banded Rows' with 'Freeze'. Users often look for a specific 'Freeze' button in the Row menu. There is no 'Freeze' option for a single row in the Row submenu. The visual banded row is the correct and intended method for this specific task.
  • Freezing the wrong rows. When using the 'Freeze' feature (found in the View menu), users sometimes freeze too many rows at once. If you only need to keep the first row visible, look for the 'View' > 'Freeze' > '1 row' option instead of selecting a range and freezing it.
  • Not scrolling. The most common mistake is simply not scrolling down in the sheet. The row will appear to disappear because it stays at the top of the viewport while you move the rest of the document.

Tips

  • Use for headers. This is the perfect method for keeping row 1 as a header row. It ensures that column headers are always visible, making it easier to read data as you add more rows to the bottom of the sheet.
  • Visual indicator. The banded row is not just a functional freeze; it also serves as a visual cue. It helps distinguish the fixed header row from the rest of the scrolling data, improving overall readability.
  • Alternative for multiple rows. If you need to lock a header row and also a second row containing sub-headers, the 'Freeze' feature in the View menu is more appropriate. You can freeze 1, 2, or more rows at a time using that menu option.
  • Consistency. If you are sharing a sheet with others, using this method on your header row creates a consistent experience for everyone viewing the document.

Troubleshooting

If your row is still moving or not staying in place, check the following:

  • Did you scroll? First, ensure you have actually scrolled down the page. The row is fixed at the top; it will not move if you are looking at the top of the sheet.
  • Did you select the row? Check that you clicked on the row number (e.g., 1) and not inside the cells. The row selection must be made from the left-hand index.
  • Are there conflicting settings? If you have previously used the 'Freeze' feature, it might be conflicting with the banded row. You can try removing any existing freezes from the View menu and then applying the banded row method again.
  • Check your view. Ensure you are in 'Page View' rather than 'Editor View' or a specific 'Fullscreen' mode, as these can sometimes affect how rows are displayed. However, the banded row method generally works in all standard view modes.

Frequently Asked Questions

Does freezing a row save space in the print layout?

No, freezing a row does not affect how the document prints. The frozen row is only visible on the screen while scrolling. When you print the sheet, the first page will show the frozen row, and subsequent pages will start from the next row, just as if the row was not frozen.

How do I unfreeze a row if I change my mind?

To unfreeze a row, simply select the row again (click the row number) and go back to the Format menu. Choose 'Row' and then 'Banded rows' again. The row will lose its banded appearance and will move normally as you scroll.

Can I lock more than one row at a time using this method?

No, the 'Banded Row' method is designed to lock a single row. To lock multiple rows, use the 'Freeze' option in the View menu. You can select 'Freeze' > '2 rows' or 'Freeze' > '3 rows' to keep a header row and a sub-header row visible simultaneously.

Does freezing a row affect the file size of my spreadsheet?

No, freezing rows is a display setting and does not add any data or increase the file size. It is a purely visual adjustment that helps with navigation.

Can I freeze a row on a mobile device?

Yes, the functionality is available on mobile devices. The steps are similar: tap the row number to select it, then tap 'Format' in the toolbar, select 'Row', and choose 'Banded rows'. The row will remain at the top of the screen as you scroll.

What is the difference between a banded row and a frozen row?

The primary difference is in the visual effect and the intent. A banded row is a visual style that also functions as a freeze. It gives the row a distinct background color and keeps it fixed at the top. A frozen row (from the View menu) is a separate feature that allows you to freeze multiple rows or columns without necessarily changing their background colors, though they can be styled similarly.