# Converting two values from Excel list into boolean

**URL:** <https://forum.dynamobim.com/t/converting-two-values-from-excel-list-into-boolean/74135>\
**Category:** Revit\
**Tags:** revit, excel, dynamo\
**Created:** [March 9, 2022, 8:37am UTC](https://forum.dynamobim.com/t/converting-two-values-from-excel-list-into-boolean/74135 "2022-03-09T08:37:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mordeton](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@Mordeton](https://forum.dynamobim.com/u/Mordeton)\
**Post date:** [March 9, 2022, 8:37am UTC](https://forum.dynamobim.com/t/converting-two-values-from-excel-list-into-boolean/74135/1 "2022-03-09T08:37:04Z")

</div>

Hi, I’m a student and I’m pretty new to dynamo.

I’m trying to make a script that can read parameters from a Excel file and then create those parameters in Revit. The goal of the script is to make lots of parameters really fast to save time.

I can’t seem to find a good way to convert my “Instance/Type” column from Excel to a boolean output that the “instance” node accepts. I’ve tried to search around for a solution but I cant seem to get it to work. Any help would be appreciated 🙂

 ![Snag_a1474fc](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/8/d884c37954e7015c1f36b01177691d6bbaf0314a.png)

Excel list:

 ![Snag_a1479ed](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/e/2eaf11220454e17f3589207d7ad83ace78936b23.png)

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [March 9, 2022, 10:32am UTC](https://forum.dynamobim.com/t/converting-two-values-from-excel-list-into-boolean/74135/2 "2022-03-09T10:32:09Z")

</div>

Hey,

Like this perhaps?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/b/cb05ce9642f8573db1706328eb3b471a5e8ede83.png)

Maybe spend some time in the Dynamo primer? It’s a great way to learn techniques like this 🙂

Best of luck,

Mark

---

<div class="post-metadata">

**Author:** ![Mordeton](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@Mordeton](https://forum.dynamobim.com/u/Mordeton)\
**Post date:** [March 10, 2022, 7:19am UTC](https://forum.dynamobim.com/t/converting-two-values-from-excel-list-into-boolean/74135/3 "2022-03-10T07:19:54Z")

</div>

Thanks! Works great 🙂

 ![Snag_ef5b5e2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/0/70c27fa3e215977ee6f8611ae35d0884c16d617c.jpeg)
