# Check table with both numerical and "DNE" entries?

**URL:** https://cl.desmos.com/t/check-table-with-both-numerical-and-dne-entries/1361
**Category:** Questions
**Created:** [August 23, 2020, 10:51pm UTC](https://cl.desmos.com/t/check-table-with-both-numerical-and-dne-entries/1361 "2020-08-23T22:51:03Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![SqrtOfPi](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/sqrtofpi/32/899_2.png) [@SqrtOfPi](https://cl.desmos.com/u/SqrtOfPi)
#### Post date: [August 23, 2020, 10:51pm UTC](https://cl.desmos.com/t/check-table-with-both-numerical-and-dne-entries/1361/1 "2020-08-23T22:51:03Z")

</div>

I want students to enter limit values into a table, some of which exist and some don’t. I told them to enter “dne” if the limit doesn’t exist, but is there a way to code it to check that? I have it in math format, so I guess I have to “read” the latex for dne or DNE, etc.

---

<div class="post-metadata">

### Author: ![SqrtOfPi](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/sqrtofpi/32/899_2.png) [@SqrtOfPi](https://cl.desmos.com/u/SqrtOfPi)
#### Post date: [August 23, 2020, 11:17pm UTC](https://cl.desmos.com/t/check-table-with-both-numerical-and-dne-entries/1361/2 "2020-08-23T23:17:10Z")

</div>

NEVER MIND. I figured it out… was using cellNumericValue but in the cells that get dne I just used cellContent and have check for either dne or DNE and it works! 🙂

---

<div class="post-metadata">

### Author: ![Daniel\_Grubbs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_grubbs/32/719_2.png) [@Daniel\_Grubbs](https://cl.desmos.com/u/Daniel_Grubbs)
#### Post date: [August 24, 2020, 4:47am UTC](https://cl.desmos.com/t/check-table-with-both-numerical-and-dne-entries/1361/3 "2020-08-24T04:47:49Z")

</div>

You could also use `not(isDefined(table.cellNumericValue(1,2)))`, or something similar. You won’t get the text difference that way.

---

<div class="post-metadata">

### Author: ![SqrtOfPi](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/sqrtofpi/32/899_2.png) [@SqrtOfPi](https://cl.desmos.com/u/SqrtOfPi)
#### Post date: [August 24, 2020, 7:24am UTC](https://cl.desmos.com/t/check-table-with-both-numerical-and-dne-entries/1361/4 "2020-08-24T07:24:22Z")

</div>

Oh that’s a great idea! Very slick! Thanks!
