An Excel worksheet holds 1,048,576 rows and 16,384 columns in the current .xlsx file format — that is 2 to the 20th power rows and 2 to the 14th power columns, labelled A through XFD. That limit applies to Excel for Microsoft 365, Excel 2021, 2019, 2016 and 2013 on Windows and Mac. The older .xls format is capped far lower, at 65,536 rows and 256 columns, so if you are working in an old file you may hit that wall instead. This guide shows you how to confirm the limit on your own copy of Excel, check how many rows you are actually using, and work around the ceiling when your data outgrows a single sheet.

What You'll Need

  • Excel for Microsoft 365, Excel 2021, 2019, 2016 or 2013 (Windows or Mac). The steps below are written for the desktop app; the Excel web app shows the same grid limits.
  • A workbook saved in the .xlsx format if you need the full 1,048,576-row capacity.
  • Enough free memory and disk space — very large sheets are limited in practice by your computer's RAM and by file size, not just by the row count.

Step-by-Step

  1. Open a blank workbook. Start Excel and create a new workbook, or open any file where you want to check the limit. Menu labels can differ slightly by version, platform and region, so if a name below does not match exactly, look for the closest equivalent.
  2. Jump to the last cell. Press Ctrl + End on Windows or Control + Command + G is not needed — on Mac use Command + Right Arrow then Command + Down Arrow to reach the edge of the used range. On Windows, Ctrl + End takes you to the bottom-right corner of the cells currently in use, which is the quickest way to see how much of the grid you have filled.
  3. Go to the true last row. Click inside the Name Box (the small field to the left of the formula bar), type A1048576 and press Enter. Excel jumps to row 1,048,576 — the final row of the sheet. If you can select it and type in it, you have confirmed the maximum. Try A1048577 and Excel will reject it, which proves the ceiling.
  4. Check the last column the same way. Type XFD1 in the Name Box and press Enter. That is column 16,384. Together, those two addresses define the worksheet size.
  5. Confirm your file format. Go to File > Save As and look at the file type dropdown. If it says Excel 97-2003 Workbook (.xls), the sheet is limited to 65,536 rows and 256 columns. Choose Excel Workbook (.xlsx) instead to get the full grid.
  6. Count the rows you are actually using. Press Ctrl + End (Windows) or Command + End (Mac) and read the row number in the Name Box. That tells you the last row containing data or formatting. For a precise count of populated rows in one column, use a formula such as =COUNTA(A:A), which counts non-empty cells in column A.
  7. Watch for phantom used range. If Ctrl + End sends you to row 900,000 but your data ends at row 500, stray formatting or a deleted-but-remembered cell is inflating the used range. Select the empty rows below your data, right-click and choose Delete, then save the file. This shrinks the used range and keeps scrolling and file size under control.
  8. Plan for data beyond the limit. If you need more than 1,048,576 rows, split the data across multiple worksheets in the same workbook, or move it into a tool built for larger datasets such as Power Query (available inside Excel via Data > Get Data) or a database. Power Pivot, reached through the Data tab in supported versions, can load very large tables into the data model without placing every row on a visible sheet.

Common Mistakes

  • Assuming every Excel file has the same limit. The .xls format stops at 65,536 rows. Opening an old file and wondering why row 70,000 is missing is almost always a format issue.
  • Confusing rows with cells. A single sheet holds over 17 billion cells (1,048,576 × 16,384), but that is a theoretical maximum — memory and file size bite long before you get there.
  • Leaving formatting on empty rows. Applying a fill colour or border to entire columns can push the used range to the bottom of the sheet, making the file slow and bloated.
  • Typing a row number beyond the limit into the Name Box. Excel rejects it with an error, which people sometimes misread as a corrupted file.
  • Expecting the web version to behave identically. Excel for the web shares the same grid size but can struggle with very large workbooks, so heavy files are better opened in the desktop app.

Tips

  • Use Ctrl + Down Arrow to jump to the last filled cell in a column — faster than scrolling when you just want a sense of scale.
  • Keep raw data on its own sheet and build reports on separate sheets that reference it; this keeps each sheet well inside the row limit.
  • Save large workbooks as .xlsx, never .xls, and avoid converting back and forth.
  • If a file feels sluggish, check the used range first — trimming stray formatting often fixes lag without deleting any data.
  • For datasets that will keep growing, load them through Power Query so the row ceiling becomes a refresh concern rather than a copy-paste problem.

Troubleshooting

The Name Box rejects A1048576. Your file is probably in .xls format. Save a copy as .xlsx and try again.

Ctrl + End jumps far past your data. Select the empty rows beneath your last real row, right-click, choose Delete, then save. Repeat for empty columns to the right.

Excel warns about lost features when saving. That message appears when you save to .xls and the sheet exceeds the old limits. Choose .xlsx to keep everything.

The file is slow to open or scroll. Close other large workbooks, check the used range, and consider moving very large tables into the data model via Power Query or Power Pivot instead of a visible sheet.

You genuinely need more rows. Split by year, region or category across sheets, or move the data to a database and connect to it from Excel. There is no setting that raises the 1,048,576-row limit — it is fixed by the file format.

Frequently Asked Questions

How many rows does an Excel spreadsheet have?

1,048,576 rows in the .xlsx format used by Excel 2013 and later, including Microsoft 365. Each sheet also has 16,384 columns.

How many rows did older Excel versions allow?

Excel 97 through Excel 2003 allowed 65,536 rows and 256 columns. Files in that .xls format keep those limits even when opened in a modern version.

Can I increase the row limit?

No. The limit is built into the file format. Split data across sheets or use Power Query or a database for larger volumes.

How do I see how many rows my sheet is using?

Press Ctrl + End (Windows) or Command + End (Mac) and read the row number in the Name Box. A formula like =COUNTA(A:A) counts populated cells in a column.

Does the Excel web app have the same limit?

Yes, the grid size is the same, but very large workbooks may perform better in the desktop app.

What happens if I paste more than 1,048,576 rows?

Excel cannot store them on one sheet. The paste will fail or be truncated, so split the data or import it through Power Query instead.