# Select items in list A that are not in list B

**URL:** <https://forum.dynamobim.com/t/select-items-in-list-a-that-are-not-in-list-b/41733>\
**Category:** Lists-Logic\
**Created:** [October 11, 2019, 5:41pm UTC](https://forum.dynamobim.com/t/select-items-in-list-a-that-are-not-in-list-b/41733 "2019-10-11T17:41:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cjg63C47](https://avatars.discourse-cdn.com/v4/letter/c/e79b87/32.png) [@cjg63C47](https://forum.dynamobim.com/u/cjg63C47)\
**Post date:** [October 11, 2019, 5:41pm UTC](https://forum.dynamobim.com/t/select-items-in-list-a-that-are-not-in-list-b/41733/1 "2019-10-11T17:41:53Z")

</div>

Hi, it seems like this should be easy, but I’m totally stuck. From the two lists shown here, I want to create a new list: items in list A that are not in list B. (In this scenario, the new list would contain 3 and 4.)

Am I on the right track? I’m using Cross Product lacing. Where to go from here? Thanks…

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

---

<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:** [October 11, 2019, 6:34pm UTC](https://forum.dynamobim.com/t/select-items-in-list-a-that-are-not-in-list-b/41733/2 "2019-10-11T18:34:25Z")

</div>

List.SetDifference does exactly this.

---

<div class="post-metadata">

**Author:** ![cjg63C47](https://avatars.discourse-cdn.com/v4/letter/c/e79b87/32.png) [@cjg63C47](https://forum.dynamobim.com/u/cjg63C47)\
**Post date:** [October 11, 2019, 7:15pm UTC](https://forum.dynamobim.com/t/select-items-in-list-a-that-are-not-in-list-b/41733/3 "2019-10-11T19:15:32Z")

</div>

Thanks Nick - I actually just discovered this node…
