# limit to number of observations in Excel datasets?

**URL:** <https://boards.straightdope.com/t/limit-to-number-of-observations-in-excel-datasets/376965>\
**Category:** Factual Questions\
**Created:** [October 18, 2006, 5:05pm UTC](https://boards.straightdope.com/t/limit-to-number-of-observations-in-excel-datasets/376965 "2006-10-18T17:05:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Napier](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@Napier](https://boards.straightdope.com/u/Napier)\
**Post date:** [October 18, 2006, 5:05pm UTC](https://boards.straightdope.com/t/limit-to-number-of-observations-in-excel-datasets/376965/1 "2006-10-18T17:05:12Z")

</div>

I’m looking at data acquisition hardware that leads to either .CSV files or their own proprietary binary format.

I understand .CSV is a format Excel popularized and have heard that Excel can only handle 64,000 observations (I think they would call them “rows”). But I’m not an Excel user and don’t know.

Is there a small limit like that in Excel?

---

<div class="post-metadata">

**Author:** ![yoyodyne](https://avatars.discourse-cdn.com/v4/letter/y/a9a28c/32.png) [@yoyodyne](https://boards.straightdope.com/u/yoyodyne)\
**Post date:** [October 18, 2006, 5:13pm UTC](https://boards.straightdope.com/t/limit-to-number-of-observations-in-excel-datasets/376965/2 "2006-10-18T17:13:26Z")

</div>

.CSV is simply a comma delimited text file. Excel will only(!) go to 64,000 rows, but a .CSV file can be imported into a database program (like Access) for a virtually unlimited number of rows.

---

<div class="post-metadata">

**Author:** ![zoid](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/zoid/32/336_2.png) [@zoid](https://boards.straightdope.com/u/zoid)\
**Post date:** [October 18, 2006, 5:53pm UTC](https://boards.straightdope.com/t/limit-to-number-of-observations-in-excel-datasets/376965/3 "2006-10-18T17:53:01Z")

</div>

It depends on the vresion of Excel you’re using.

The Help for v2002 says: Worksheet size 65,536 rows by 256 columns

Just look in help under “specifications” for your version if it’s different.

---

<div class="post-metadata">

**Author:** ![Napier](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@Napier](https://boards.straightdope.com/u/Napier)\
**Post date:** [October 18, 2006, 7:23pm UTC](https://boards.straightdope.com/t/limit-to-number-of-observations-in-excel-datasets/376965/4 "2006-10-18T19:23:22Z")

</div>

Thanks, folks. Yoyodyne, it turns out typical hardware that uses these files doesn’t stop writing just because they hit the limit - it’s just that Excel would stop reading. Like you suggest, other things use these files with longer datasets.

I write my own code to read files, and in other work often read millions of lines, and sometimes as many as 32,000 columns. Looks like that’ll work here too.

Zoid, I don’t really need to know, you just got me curious - do other versions handle more rows? or less? I can’t look because I don’t actually use Excel, don’t even know how.

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [October 18, 2006, 7:46pm UTC](https://boards.straightdope.com/t/limit-to-number-of-observations-in-excel-datasets/376965/5 "2006-10-18T19:46:33Z")

</div>

I think Excel used to be limited to 16384 rows, but that was a while ago.

---

<div class="post-metadata">

**Author:** ![gigi](https://avatars.discourse-cdn.com/v4/letter/g/a587f6/32.png) [@gigi](https://boards.straightdope.com/u/gigi)\
**Post date:** [October 18, 2006, 8:27pm UTC](https://boards.straightdope.com/t/limit-to-number-of-observations-in-excel-datasets/376965/6 "2006-10-18T20:27:55Z")

</div>

We’re working on report design and dumping the results of queries into Excel. The conventional wisdom we’re going with is that Excel stops at 64K, so it’s off to Access we go.

Specs for Excel 2003: “Worksheet size 65,536 rows by 256 columns” [as mentioned above] “Arrays: Limited by available memory. Also, arrays cannot refer to entire columns. For example, an array cannot refer to the entire column C:C or to the range C1:C65536. However, an array can refer to the range C1:D65535 because the range is one row short of the maximum worksheet size and does not include the entire C or D column.”

---

<div class="post-metadata">

**Author:** ![gigi](https://avatars.discourse-cdn.com/v4/letter/g/a587f6/32.png) [@gigi](https://boards.straightdope.com/u/gigi)\
**Post date:** [October 18, 2006, 8:28pm UTC](https://boards.straightdope.com/t/limit-to-number-of-observations-in-excel-datasets/376965/7 "2006-10-18T20:28:56Z")

</div>

[QUOTE=gigi]  
the range C1:D65535  
[/QUOTE]  
I always knew Excel was a real giggle.

---

<div class="post-metadata">

**Author:** ![JCorre](https://avatars.discourse-cdn.com/v4/letter/j/3da27b/32.png) [@JCorre](https://boards.straightdope.com/u/JCorre)\
**Post date:** [October 19, 2006, 4:10am UTC](https://boards.straightdope.com/t/limit-to-number-of-observations-in-excel-datasets/376965/8 "2006-10-19T04:10:33Z")

</div>

Excel only handles the ~64K rows but if you’re adept at using pivot tables you can use Excel to manipulate Access (or even Oracle) tables that have many, many more rows than that.
