Excel Row Limit: What to Do When Your Model, Not Your Data, Hits 1.048.576 Rows
In short: an Excel sheet holds 1.048.576 rows and 16.384 columns. A sales plan with 500 products, 20 regions, 36 months and 3 scenarios has 1.080.000 combinations, so even a flat list of it does not fit in one sheet, before a single formula is added. If your problem is raw data, use a database, Power Query or Power Pivot. If your problem is a planning model, the fix is a tool where products, regions, months and scenarios are dimensions, not rows.
What exactly is the Excel row limit?
| Limit | Value per sheet |
|---|---|
| Rows | 1.048.576 |
| Columns | 16.384 (A to XFD) |
| Cells | about 17,2 billion |
The limit has been the same since Excel 2007. Opening a CSV with more rows loads the first 1.048.576 and drops the rest, with a warning that is easy to click away.
Is it your data or your model that is too big?
| Your situation | What hits the limit | The right tool |
|---|---|---|
| Millions of transactions or log lines to filter and summarise | Raw data | A database, Power Query, or Power Pivot (Excel’s data model is limited by memory, not by the sheet) |
| Pivot tables on more rows than a sheet holds | Raw data in a report | Power Pivot |
| A budget or forecast by product, region, month and scenario | The model: every combination needs its own rows and formulas | A multidimensional modelling tool such as Quantrix |
Most articles about the row limit only answer the first two rows. This one is about the third. If your model fits but is slow, see why Excel models get slow and what to fix first.
How does a planning model reach a million rows?
By multiplication. An illustrative sales and margin plan:
| Dimension | Items |
|---|---|
| Products | 500 |
| Regions | 20 |
| Months | 36 |
| Scenarios | 3 |
| Combinations | 500 × 20 × 36 × 3 = 1.080.000 |
Each combination needs at least volume, price, revenue, cost and margin: over 5 million calculated values. In Excel these values are spread over sheets (for example one per region and scenario, 60 sheets) so that no single sheet hits the row limit. The limit is avoided, but the model now has 60 copies of every formula, linked summary sheets, and every change to a rule has to be repeated in every copy.
What are the usual workarounds, and what do they cost?
| Workaround | What it solves | What it costs |
|---|---|---|
| Split by sheet (one per region or scenario) | Rows per sheet | Copied formulas; summary links; one change made 60 times |
| Split into several linked workbooks | Rows and file size | Broken links, files opened in the wrong order |
| Turn calculation to manual | Recalculation time | Results that are not current unless someone presses F9 |
| Move data to Power Pivot | Rows of data | Works for reporting; planning logic (allocations, scenarios, rolling balances) is hard to write in DAX measures |
| Reduce detail (monthly to quarterly, products to groups) | Size | The plan no longer answers the questions it was built for |
What does the same plan look like in Quantrix?
In Quantrix, products, regions, months and scenarios are dimensions of one matrix. A formula is written once, in words, and applies to every combination:
Revenue = Volume * Price
There are no rows to run out of: adding a product or a month adds data, not formulas or sheets. Two numbers from our own models:
- Retail budget: 240 stores, 30 subcategories, 52 weeks, 3 years, 3 scenarios. Grown to 500 million cells with 127 formulas on a 16 GB laptop; a change in rent indexation recalculated in about 3 seconds. Read how the retail model works →
- Food manufacturing model built by the same AI in both tools: 74 formulas in Quantrix, 18.618 formula cells in Excel. Read the comparison →
When should you stay in Excel?
When the plan fits on a few sheets, has one or two dimensions and is built once. When your problem is only data volume, Power Query or a database is cheaper than a new tool. Quantrix pays off when the model is reused, has three or more dimensions, needs scenarios and has to be checked by someone other than its author.
How do you check whether your model is the problem?
- Multiply your dimensions: items × periods × scenarios. Above about 100.000 combinations, a flat layout gets slow; above 1.048.576 it no longer fits a sheet.
- Count the copies of your main formula (Formulas > Show Formulas, then look along a row). If one rule exists in hundreds of cells, every change is a risk.
- Count the files and sheets that exist only because of size limits.
If two of the three apply, see the Excel alternative for large models →
Tahir Tahirov, Smart Modeling Solutions e.U., Official Quantrix Partner in Europe. 20 years of planning and project-economics models; author of SPE-174768-MS.
Get Full Access to Quantrix – Free for 30 Days
We ask for a few details to send your download link and help you get started. Your info stays private, no spam, no credit card.
Why It is Worth Your Time:
