Excel’s row limit (1,048,576 rows): how to get past it
Every Excel sheet ends at row 1,048,576 and at column XFD, the 16,384th. The limit cannot be raised by a setting, a licence or a faster computer. What you can do is choose where the extra rows go. This guide explains what happens at the limit, what each workaround really costs, and when to keep Excel.
Where the number 1,048,576 comes from
1,048,576 is 2 to the power of 20. Since Excel 2007 and the .xlsx format, a sheet is addressed with 20 bits for the row and 14 bits for the column, which gives 1,048,576 rows and 16,384 columns. Before 2007, the .xls format stopped at 65,536 rows, 2 to the power of 16. The grid has kept the same size since, in Excel for Windows, for Mac and in Excel on the web.
The limit applies to each sheet, not to the workbook. A workbook can hold many sheets of a million rows each, as long as your memory follows. That is why splitting a file across sheets is one of the classic workarounds, with the problems described below.
What happens when your data is bigger
Open a CSV of 3 million rows and Excel shows a warning: “File not loaded completely”. It keeps the first 1,048,576 rows, including the header, and drops the rest. Paste rows beyond the limit and Excel refuses the paste. Run a query that returns more rows into a sheet and the load fails.
The dangerous case is the first one. After the warning, the sheet looks complete. A SUM at the bottom of a column, a pivot table or a chart gives a number that looks right and is not. If you then save the file as .xlsx, or save the CSV again, the missing rows are gone from that copy for good.
A quick check: press Ctrl+Down Arrow in the first column. If you land on row 1,048,576, your data was almost certainly cut.
The limits next to the row limit
| Limit | Value in Excel |
|---|---|
| Rows per sheet | 1,048,576 |
| Columns per sheet | 16,384 (A to XFD) |
| Characters in a cell | 32,767 |
| Rows in a pivot table built on a sheet | Those of the source sheet, so 1,048,576 at most |
| Rows in the Data Model (Power Pivot) | Much higher, bounded by memory |
In practice, many people hit a softer limit well before the hard one: a workbook with 500,000 rows and a few dozen formulas per row becomes slow to recalculate, to save and to filter. Excel calculates cell by cell, and each formula is copied a million times.
Four ways to get past the limit
None of these is wrong. They answer different needs, and the right one depends on whether you need to see and edit rows, or only totals.
- Power Query and the Data Model. Load the file as a connection, not into cells, then build a pivot table on the Data Model. Millions of rows are fine. You query and summarise; you do not scroll, sort or correct individual rows, and you learn Power Query steps and some DAX.
- Split the file. Cut it into parts under the limit, open each in Excel, combine the results by hand. Free and simple. Every total, filter and duplicate check must then be done once per part and added up, and duplicates that sit in different parts are missed. The free CSV splitter on this site does the cutting.
- A database or a script. SQL, Python, R or DuckDB handle any size and are repeatable. You need to write code, install tools, and share results with colleagues who do not.
- A spreadsheet built for size. Big Sheets opens several million rows in the browser and keeps the Excel habits: filters, sorting, formulas with Excel names, pivot tables, charts. It is tested up to 5 million rows; the real limit is your device’s memory.
Keep your Excel habits on millions of rows
The reason Excel slows down long before its limit is that each formula is a separate cell. Big Sheets works by column instead. You write a formula once, for example =IF([@Revenue]>10000,"Key account","Standard"), and it applies to every row of the column at once. That is how a calculated column on a million rows takes under a second.
The function names are Excel’s, in English or in French: SUMIFS, COUNTIF, XLOOKUP, VLOOKUP with exact match, TEXT, LEFT, TRIM, DATEDIF, EOMONTH, IFERROR and many more. A formula copied from an Excel workbook, in either language, is accepted as written. What does not exist is the free cell like =A1+B1 inside the data: a data sheet is a table, with one formula per column. Summary sheets give you free cells for the report around it.
=[@Quantity]*[@Unit price]
=IF([@Revenue]>10000,"Key account","Standard")
=XLOOKUP([@Customer],Customers![Code],Customers![Name],"Unknown")A typical workflow when the file is too big
- Open the full file in Big Sheets. Check the row count at the bottom against what the source system says.
- Clean it: trim spaces, fix dates written in two formats, remove duplicates on the right columns.
- Add the calculated columns you need, filter to the scope you care about, and build the pivot table or the summary.
- Export the result. A pivot table or a filtered subset is usually far below a million rows, so it goes back to Excel as an .xlsx for the colleagues who expect one.
- Save the steps as a recipe, and replay it on next month’s file instead of doing it all again.
When Excel is still the right tool
If your data fits in a few hundred thousand rows and you need cell-by-cell layout, a printed report, VBA macros or a model where each cell has its own formula, stay in Excel. It is excellent at that.
The point is not to replace Excel everywhere. It is to stop forcing a 4-million-row export into a tool capped at one million, then trusting a total that silently ignores three quarters of the data.
Privacy: where do your rows go?
The files that exceed Excel are often the sensitive ones: full customer bases, transactions, payroll. Big Sheets reads them in your browser and never uploads them. The analysis engine runs on your device, and you can try everything on sample data first, without an account.
Try it on your own file
Open it in Big Sheets: no sign-up, and your file never leaves this browser.
One plan: €29 incl. VAT per month, everything included, cancel any time. See pricing
Questions
- What is the exact row limit of Excel?
- 1,048,576 rows and 16,384 columns per sheet (columns A to XFD), in every current version of Excel for Windows and Mac, and in Excel on the web.
- Can I raise the limit?
- No. You can only load data through Power Query or the Data Model, split the file, or use a tool built for larger data.
- Will I lose data if I open a big CSV in Excel?
- Rows beyond 1,048,576 are not loaded. Excel warns you, but if you save the sheet, the missing rows are gone from that copy.
- Can I send the result back to Excel?
- Yes. Big Sheets exports to .xlsx, CSV, Parquet and JSON. Simple formula columns are exported as real Excel formulas.