Skip to content

What are Excel's row and column limits?

Every Excel limit worth knowing, from Microsoft's own list, what each one means for a real file, and what to do when your data goes past them.

By OpenAnyDoc · ·

The short answer

An Excel worksheet holds at most 1,048,576 rows and 16,384 columns, and one cell holds at most 32,767 characters. Numbers keep only 15 digits, and Excel calculates only with dates from 1 January 1900 to 31 December 9999. When your data goes past these limits, OpenAnyDoc's large CSV viewer opens it in your browser with no row limit of its own, and Split CSV cuts it into parts Excel can open, without uploading the file.

The limits, from Microsoft's own list

These figures come from Microsoft's Excel specifications and limits page (checked 24 November 2026), which applies to Excel for Microsoft 365 and Excel 2016, 2019, 2021 and 2024:

  • Rows on a worksheet: 1,048,576.
  • Columns on a worksheet: 16,384, so the last column is XFD.
  • Characters in one cell: 32,767.
  • Line breaks in one cell: 253.
  • Characters in a header or footer: 255.
  • Characters in a formula: 8,192; arguments in one function: 255; functions nested inside each other: 64.
  • Number precision: 15 digits.
  • Dates Excel can calculate with: 1 January 1900 to 31 December 9999.
  • Items shown in a filter drop-down list: 10,000.
  • Hyperlinks on a worksheet: 65,530.
  • Different cell formats and cell styles in a workbook: 65,490.
  • Undo levels: 100.
  • Sheets in a workbook: limited only by available memory.

What each limit means for a real file

Most people only meet the row limit, which the guide on how to open a large CSV file covers in detail. The other limits catch people out more quietly. The figures are from the Excel specifications and limits page and Microsoft's page on keeping leading zeros and large numbers (checked 24 November 2026):

  • Columns: wide exports reach 16,384 long before they get near a million rows. A survey with one column per question and answer option, or sensor data with one column per reading, can be a few thousand rows long and still be too wide.
  • 15 digits: Excel keeps 15 significant digits of a number, so a 16-digit reference typed or opened as a number, such as 1234567890123456, is stored as 1234567890123450. Order numbers, barcodes and other long codes are safe only as text.
  • 32,767 characters: long free-text fields, such as comments, descriptions or JSON pasted into a column, can be longer than one cell holds.
  • 253 line breaks: an address or a note with many lines counts against this limit too, separately from the character limit.
  • Dates before 1900: they are earlier than the first date Excel calculates with, so Excel cannot calculate with records from the 1800s as dates.
  • 10,000 filter items: a column with more different values than that does not show all of them in its filter list, so use a text filter such as Contains instead of ticking values.

Worked example: will this export fit?

Do the sums before you open the file. Two synthetic exports, and how to count your own:

  • A sales export of 2,400,000 rows and 12 columns: the columns are fine, the rows are not. Cut into parts of 1,000,000 rows, it becomes three files of 1,000,000, 1,000,000 and 400,000 rows, each with the header row on top, and every part stays below 1,048,576.
  • A sensor log of 5,000 rows that stores each second of a five-hour test in its own column: 18,000 columns, more than 16,384, although the row count is small. Hide the columns you do not need before you save it for Excel.
  • To read the real size of a file before Excel sees it, drop it on the CSV viewer and choose Issues in the More menu: the File report gives rows × columns, the delimiter and the encoding. A line count from a text editor can be too high, because a quoted cell with a line break inside takes two lines but is one row.

When your data is over a limit

All of these run in your browser; the file is not uploaded:

  • Too many rows to look through: open the file in the large CSV viewer. It has no row limit of its own, so the limit is your device's memory, and a file over 50 MB shows a warning first. Filter to the rows you need, then choose Download options in the More menu and tick only the shown rows.
  • Too many rows for someone who uses Excel: Split CSV cuts the file by a number of rows or by a size in MB per file. Every part keeps the header row, and the parts download together as one ZIP.
  • Too many columns: hide the columns you do not need in the CSV viewer, then choose Download options and tick only the shown rows. Hidden columns are left out of that copy.
  • Long codes that must keep every digit: CSV to Excel turns only plain numbers into numbers. Values such as 007, phone numbers and whole numbers longer than 15 digits stay text, so no digit is lost.
  • A workbook too big to work with: Split Excel cuts it into smaller .xlsx files by sheet, every N rows, or by the values of a column.

Where Excel does more

Excel has its own way past the worksheet limit. Power Query and the Data Model load more than 1,048,576 rows without putting them in cells, and a PivotTable can then summarise all of them, as Microsoft's page on a data set too large for the Excel grid explains (checked 24 November 2026). On a 64-bit system Excel specifications and limits lists no hard limit on Data Model file size, only available memory and system resources.

OpenAnyDoc's viewers show and edit the rows as a table, with filters, sorting and group by, but they have no PivotTables, and like Excel they are limited by your device's memory. If the data has outgrown a spreadsheet altogether, CSV vs Excel vs JSON explains when another format suits it better.

How many rows and columns can Excel have?

An Excel worksheet can have 1,048,576 rows and 16,384 columns, according to Microsoft's limits for Excel for Microsoft 365 and Excel 2016 to 2024. The older .xls format, used by Excel 97 to 2003, stops at 65,536 rows and 256 columns, according to Microsoft's pages on a data set too large for the Excel grid and on using Excel with earlier versions (checked 24 November 2026). A workbook can hold as many sheets as memory allows.

Why did Excel change the last digits of my long number?

Excel keeps only 15 significant digits of any number, so longer numbers are rounded and the extra digits become zeros. It happens to long order numbers, reference codes and IDs. Format the column as Text before you enter the numbers, or bring the file in through Data, From Text/CSV and set that column's type to Text, as Microsoft's page on keeping leading zeros and large numbers explains (checked 24 November 2026).

Is there a limit on the number of sheets or the length of a sheet name?

Microsoft lists no fixed number of sheets: a workbook can hold as many as your computer's memory allows. A sheet name can be at most 31 characters long, as Microsoft's page Rename a worksheet says (checked 24 November 2026). If a workbook has grown too big for the person who will receive it, Split Excel saves each sheet as its own file, in your browser.

Questions?

Write to support@openanydoc.com with the row and column count of your file and what you need from it (no personal data).