Maximum Records in Excel: How Many Rows You Can Use
In this article
Excel is not built for unlimited data, and there is no single "maximum records" number that applies to every situation. The hard limits depend on which file format you save in: a modern .xlsx workbook holds up to 1,048,576 rows and 16,384 columns per worksheet, while the older .xls format caps out at 65,536 rows and 256 columns. Your practical limit is almost always far lower than these numbers, because formulas, lookup functions, formatting, chart sources and available memory slow a workbook down long before you hit the row ceiling. The steps below show how to check your limit, measure what your file can realistically handle, and raise that ceiling by changing how you store the data.
What You'll Need
- Excel on Windows or Mac (the row limits are the same on both), or Excel for the web, which has its own, lower limits per workbook
- A workbook saved in the .xlsx format, not the legacy .xls format
- A rough idea of how many rows you expect to grow to, so you can plan rather than react
- Enough free RAM on your computer, since memory, not the row cap, is usually what fails first
Step-by-Step
1. Check the limits of your current file format
- Open your workbook and go to File > Info (or the Excel menu > About on Mac).
- Look at the file extension shown next to the file name. If it ends in .xls, you are on the legacy format and its 65,536-row ceiling applies.
- To convert, use File > Save As and choose Excel Workbook (*.xlsx) from the format dropdown. Labels can look slightly different depending on your Excel version, device and region, but the format choice is always in that dropdown.
- Save under a new name first so you keep a copy of the original in case formatting does not transfer cleanly.
2. Find where your data actually ends
- Press Ctrl + End on Windows or Fn + Control + Right Arrow on some Mac layouts (or Command + Down Arrow within a column) to jump to the last used cell.
- If the cursor lands far below your real data, there is invisible clutter stretching the used range. Delete the empty rows below your last record, then save and reopen the file.
- This matters because Excel keeps track of every cell it thinks is used, and a bloated used range slows every calculation and makes files unexpectedly large.
3. Convert the range to an Excel Table
- Click any cell inside your data.
- Press Ctrl + T (Windows) or Command + T (Mac) and confirm the range in the dialog.
- Give the table a name in the Table Design ribbon tab so formulas can refer to it by name rather than by cell ranges.
- Tables are important with large record counts because they auto-expand and because structured references keep formulas simple and fast to recalculate.
4. Remove whole-column references and volatile formulas
- Search your formulas for whole-column references such as
A:AorA1:A1048576. Each one forces Excel to evaluate over a million cells even if only 5,000 are filled. - Replace them with table references or a bounded range such as
A2:A100000. - Look for functions that recalculate on every change, like
TODAY(),NOW(),OFFSET()andINDIRECT(). In a sheet with hundreds of thousands of records these can make the workbook unusable. - Check Formulas > Calculation Options and set it to Manual while you enter bulk data, then recalculate with F9 when done.
5. Remove conditional formatting and heavy styling from large ranges
- Go to Home > Conditional Formatting > Manage Rules and check the scope. Rules applied to whole columns multiply the work for every row.
- Limit rules to the actual data range, not entire columns.
- Strip fill colours and borders from cells outside your data block; the file remembers them and they add size without value.
6. Test by loading more rows than you expect to use
- Make a copy of the workbook.
- Paste a sample block of rows and use Fill Down (Ctrl + D on Windows, Command + D on Mac) to push the table to roughly double your expected record count.
- Time how long a full recalculation takes (F9) and how long the file takes to open and save.
- If a doubled count takes four times as long, performance is degrading non-linearly and you will hit a practical ceiling well below the row limit.
7. Split or move data that no longer fits
- Archive old records into a separate workbook per period rather than keeping everything in one file.
- If the dataset is genuinely large, load it into a data model instead: use Data > Get Data to import the source, then build PivotTables from the data model rather than from the worksheet range.
- For truly big datasets, move the source to a database tool and use Excel only for reporting and pivots.
Common Mistakes
- Confusing the row limit with a performance limit. A file with 1,048,576 rows is technically valid and usually impractical. Real working limits are often in the tens of thousands for heavily calculated sheets.
- Leaving the file in .xls. Old workbooks hit 65,536 rows silently, and people discover it only when they run out of room.
- Whole-column VLOOKUPs. Referencing entire columns in lookups is the most common reason a large sheet becomes unusable.
- Deleting rows instead of clearing them. Deleting rows does not shrink the used range unless you save and reopen; clearing contents is often faster and enough.
- Trusting Excel for the web to match desktop limits. The web app has lower per-workbook limits and fewer features, so a heavy file that works on desktop may not open properly there.
Tips
- Keep one record type per worksheet. Mixing totals rows, notes and headers inside a data block defeats Tables and breaks sorting.
- Store dates as real dates, not text. Text dates inflate file size and slow filters.
- Use Power Query (Data > Get Data) to clean and combine files rather than pasting manually; it scales better and refreshes from source.
- Save large files as .xlsb if size becomes a problem. Binary workbooks open faster and are smaller, though they are harder to share with other tools.
- Keep the first row as a single, clean header with no merged cells.
Troubleshooting
Excel says you have reached the maximum row limit. Confirm the file is .xlsx or .xlsb. If you are already there, split the data by period or move detail rows into a data model and keep only summaries on the sheet.
The file is valid but painfully slow. Run through the formula, conditional formatting and used-range checks above in that order. Nine times out of ten, whole-column references or an inflated used range are responsible.
The file crashes or fails to save. Check free disk space and RAM, close other workbooks, and try saving to a local folder rather than a synced cloud folder. If it still fails, open a copy with the calculation set to Manual and remove the heaviest formulas before saving again.
Pasting data drops rows. Copying to a sheet that already has content can overwrite existing records. Always paste into an empty area or a Table, and check the pasted row count against the source.
A file that worked on desktop will not open in Excel for the web. The web version has lower limits and may simplify or reject heavy content. Open it in the desktop app instead.
Frequently Asked Questions
How many rows can one Excel worksheet hold?
A .xlsx or .xlsb worksheet holds 1,048,576 rows by 16,384 columns. The older .xls format holds 65,536 rows by 256 columns.
Is there a row limit per workbook rather than per sheet?
No, the limit is per worksheet. You can add multiple sheets, but a single sheet cannot exceed the row cap regardless of file size.
Can I get more than a million rows in one view?
Not in a standard worksheet. Use the data model with Power Pivot or PivotTables, which can work with far more records than a sheet displays, or keep the source in a database.
Does the row limit change with Excel version?
The modern limit has been stable across recent .xlsx versions on Windows and Mac. Excel for the web has separate, lower limits per workbook.
Why does my file slow down with far fewer than a million rows?
Performance is governed by formulas, formatting, lookups and available memory rather than the row cap. Whole-column references and volatile functions are the usual culprits.