The maximum number of rows in Excel is 1,048,576 per worksheet, and the maximum number of columns is 16,384, ending at column XFD. These limits apply to Excel 2007 and every later version, including Excel 2016, 2019, 2021, 2024 and Microsoft 365. Older .xls files are limited to 65,536 rows and 256 columns.
| Limit | Excel 2007 to Microsoft 365 (.xlsx) | Excel 97-2003 (.xls) |
|---|---|---|
| Rows per worksheet | 1,048,576 | 65,536 |
| Columns per worksheet | 16,384 (A to XFD) | 256 (A to IV) |
| Cells per worksheet | 17,179,869,184 | 16,777,216 |
| Characters in one cell | 32,767 | 32,767 |
| Number precision | 15 digits | 15 digits |
| Sheets per workbook | Limited by memory | Limited by memory |
| Rows in a Data Model table | 1,999,999,997 | Not available |
What is the max amount of rows Excel can have?
A single Excel worksheet can have 1,048,576 rows, which is 2 to the power of 20. You cannot add more, and you cannot change the limit in any setting. Inserting a row does not grow the sheet; Excel pushes the last row off the bottom instead, which is why it refuses to insert rows when there is data in row 1,048,576.

The figures come from Microsoft's Excel specifications and limits page, which also lists limits for column width (255 characters), row height (409 points) and formulas (8,192 characters).
A workbook can hold many sheets, so the total row count across a workbook is much higher. The practical ceiling is your computer's memory, not a fixed number.
How do I see the last row and column in Excel?
Press Ctrl+Down Arrow on an empty column to jump straight to row 1,048,576. Press Ctrl+Right Arrow on an empty row to reach column XFD. On a Mac, use Cmd+Down Arrow and Cmd+Right Arrow.

To find the last row that actually contains data, press Ctrl+End. Excel jumps to the last cell it considers used. Press Ctrl+Home to return to A1. Our Excel keyboard shortcuts guide lists more navigation keys like these.
You can also count filled rows with a formula. If column A always has a value, this returns the number of filled cells:
=COUNTA(A:A)
What we commonly see: Ctrl+End lands far below your data, sometimes near the bottom of the sheet. That means formatting or stray entries were once applied to those rows. Select the empty rows below your data, delete them (right-click > Delete), then save the file. The used range shrinks and the workbook often gets smaller and faster. Our guide to deleting blank rows covers the gaps inside your data too.
How many rows can Excel handle in practice?
Excel can store the full 1,048,576 rows, but how well it handles them depends on what is in them and on your PC. A sheet of plain values with ten columns and a million rows opens and sorts reasonably on a modern computer. The same rows filled with lookups, volatile functions or conditional formatting can make every edit slow.
Speed tips for large sheets:
- Use 64-bit Excel. The 32-bit version is limited to 2 GB of address space, shared by Excel, the workbook and add-ins.
- Reference exact ranges or tables instead of whole columns where you can.
- Switch to Formulas > Calculation Options > Manual while editing, then press F9 to recalculate.
- Save very large files as .xlsb. Our guide to Excel file extensions explains the binary format.
What happens if my data has more than 1,048,576 rows?
If you open a CSV or text file with more rows than the grid allows, Excel shows a "File not loaded completely" message and loads only the first 1,048,576 rows. The rest is not imported, and if you save over the original file, those rows are lost.

Use Power Query and the Data Model instead. A Data Model table can hold up to 1,999,999,997 rows, according to Microsoft's Data Model specification and limits.
- Go to Data > Get Data > From File > From Text/CSV and pick the file.
- In the preview, click the arrow next to Load and choose Load To.
- Select Only Create Connection and tick Add this data to the Data Model.
- Click OK. The data loads into memory, not into a sheet.
- Go to Insert > PivotTable > From Data Model to summarise it.
Advanced nuance: the Data Model compresses data by column, so a file that would never fit on a sheet can take up surprisingly little space. Columns with few distinct values (such as region or status) compress well; long unique text, such as order notes, does not. Remove columns you do not need in Power Query before loading to keep the model small.
What is the difference between a row and a column in Excel?
Rows run across the sheet horizontally and are numbered 1, 2, 3 down the left side. Columns run up and down vertically and are labelled with letters A, B, C along the top. A cell is where a row and a column meet, so C5 is column C, row 5.
| Row | Column | |
|---|---|---|
| Direction | Horizontal | Vertical |
| Label | Numbers (1 to 1,048,576) | Letters (A to XFD) |
| Usually holds | One record, such as one order | One field, such as order date |
| Select all of it | Shift+Space | Ctrl+Space |
Good practice is one record per row and one type of data per column. That layout is what sorting, filters, tables and PivotTables expect. If you need to restructure a sheet, see our guide to inserting, deleting and moving rows and columns.
How do I limit the rows shown in Excel?
You cannot reduce the grid itself, but you can hide the rows you do not want people to use. This makes a small form or dashboard look tidy.
- Click the row number just below your last used row, for example row 51.
- Press Ctrl+Shift+Down Arrow to select every row to the bottom.
- Right-click any selected row number and choose Hide.
- Repeat with the column after your last column and Ctrl+Shift+Right Arrow to hide the spare columns.
The sheet now ends at row 50. To restrict where the cursor can go without hiding anything, developers can set the worksheet's ScrollArea property in VBA, but it resets each time the file is opened unless a macro reapplies it.
Are the limits the same in every Excel version?
Yes for the grid. Excel 2016, 2019, 2021, 2024 and Microsoft 365, on Windows and Mac, all have 1,048,576 rows and 16,384 columns. Excel for the web uses the same grid. The differences lie elsewhere: whether you run 32-bit or 64-bit Excel, and whether you have tools like Power Pivot and the Data Model.
Whole-column references such as A:A also behave differently in dynamic array Excel (2021 and later): they can return a million results and trigger a #SPILL! error. If you are still on an older release, the Office 2024 collection lists the current perpetual editions.
Frequently asked questions
Can I increase the number of rows in Excel?
No. The 1,048,576-row limit is fixed in the file format and cannot be raised by any setting, add-in or version. If you need more, split the data across sheets, load it into the Data Model with Power Query, or keep it in a database such as Access and use Excel for analysis and reports.
Why does my Excel sheet only have 65,536 rows?
The workbook is saved in the old .xls format, so Excel opens it in Compatibility Mode with the Excel 97-2003 grid of 65,536 rows and 256 columns. Go to File > Info > Convert, or save it as an Excel Workbook (.xlsx), then close and reopen the file to get the full 1,048,576 rows.
What is the last column in Excel?
The last column is XFD, which is column number 16,384. After Z, Excel continues with AA to AZ, then BA and so on, through three-letter names up to XFD. You can check by clicking any cell in an empty row and pressing Ctrl+Right Arrow, or by typing XFD1 into the Name Box.
Why can't I insert rows in Excel?
Excel blocks inserting rows when it would push data off the bottom of the sheet. Usually something, even a space or formatting, sits in row 1,048,576. Press Ctrl+End to find the last used cell, delete the unused rows below your real data, save, and try again. Protected sheets and merged cells across rows can also block inserting.
How many characters fit in one Excel cell?
A cell can hold up to 32,767 characters. Long text is hard to read inside the cell, so click the cell and expand the formula bar (Ctrl+Shift+U) to see all of it. A formula is limited to 8,192 characters. If you are storing long notes, consider a separate notes column or a linked document instead of very long cell text.
Related guides
- Excel file extensions explained: XLSX vs XLS vs XLSM vs CSV
- How to insert, delete and move rows, columns and sheets
- How to delete blank rows in Excel
- Excel keyboard shortcuts you will actually use
Links in this guide
| Link | Type | Why it helps |
|---|---|---|
| Microsoft Support: Excel specifications and limits | External | Official row, column and cell limits |
| Microsoft Support: Data Model specification and limits | External | Row limit for Data Model tables |
| Excel keyboard shortcuts | Internal | Navigation keys for large sheets |
| Delete blank rows in Excel | Internal | Cleaning up the used range |
| Excel file extensions explained | Internal | Why .xls files have fewer rows |
| Insert, delete and move rows and columns | Internal | Restructuring rows and columns |
| #SPILL! error in Excel | Internal | Why whole-column references can spill |
| Office 2024 licence keys | Internal | Current perpetual Office editions |
