# Merging Boolean lists

**URL:** <https://forum.dynamobim.com/t/merging-boolean-lists/98171>\
**Category:** Dynamo Player\
**Tags:** dynamo\
**Created:** [February 16, 2024, 6:25pm UTC](https://forum.dynamobim.com/t/merging-boolean-lists/98171 "2024-02-16T18:25:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SLeeA4VKD](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@SLeeA4VKD](https://forum.dynamobim.com/u/SLeeA4VKD)\
**Post date:** [February 16, 2024, 6:25pm UTC](https://forum.dynamobim.com/t/merging-boolean-lists/98171/1 "2024-02-16T18:25:27Z")

</div>

Hi,  
I am trying to figure out how to combine multiple Boolean lists into one so I don’t have to repeat List.FilterByBoolMask. Im looking to filter a list from excel by both name and if null. I want one list in the same order that if false on any of the lists shows up false on the combined list.

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [February 16, 2024, 6:32pm UTC](https://forum.dynamobim.com/t/merging-boolean-lists/98171/2 "2024-02-16T18:32:12Z")

</div>

You can use an OR condition, either with the node or in a codeblock.

---

<div class="post-metadata">

**Author:** ![SLeeA4VKD](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@SLeeA4VKD](https://forum.dynamobim.com/u/SLeeA4VKD)\
**Post date:** [February 16, 2024, 7:41pm UTC](https://forum.dynamobim.com/t/merging-boolean-lists/98171/3 "2024-02-16T19:41:01Z")

</div>

Thank you!  
The “And” node worked for the if one is false then make false.

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [February 16, 2024, 7:41pm UTC](https://forum.dynamobim.com/t/merging-boolean-lists/98171/4 "2024-02-16T19:41:53Z")

</div>

Yup, sorry, I misread your intentions for the two booleans the first time. Same idea though.
