LibreOffice: the maximum number of rows per sheet was exceeded

LibreOffice CalcThe data could not be loaded completely because the maximum number of rows per sheet was exceeded.

LibreOffice Calc loaded rows until it hit its sheet limit and left the rest out. Open the CSV in MegaCSV instead to see every row, then export the rows you need in parts small enough for Calc or Excel.

Why it happens

Like Excel, a Calc sheet has a fixed number of rows. A CSV longer than that can’t fit, so Calc loads what it can and shows this message. Saving the sheet keeps only the loaded part.

Fix it with MegaCSV

  1. Drop the CSV on MegaCSV in Chrome, Edge or Firefox.
  2. Filter or Find across all rows.
  3. Export as CSV or Excel, split into files of up to 1,048,575 rows, each with the header row.

Other ways to fix it

Questions

How many rows does LibreOffice Calc hold?

1,048,576 rows per sheet by default, the same as Excel; very old versions stopped at 65,536. An optional “very large spreadsheets” setting allows 16 million rows, but it's slow on big files and not on by default.

Are the rows past the limit lost?

They're still in your CSV file. Calc just didn't load them. Don't save over the original.

Does MegaCSV work on Linux?

Yes, in Chrome, Edge or Firefox.

Related

Facts checked November 2, 2026.