# Adding 2 lists together under the same index!

**URL:** <https://forum.dynamobim.com/t/adding-2-lists-together-under-the-same-index/63215>\
**Category:** Revit\
**Created:** [April 23, 2021, 12:06pm UTC](https://forum.dynamobim.com/t/adding-2-lists-together-under-the-same-index/63215 "2021-04-23T12:06:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kamuYAGW8](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kamuyagw8/32/115262_2.png) [@kamuYAGW8](https://forum.dynamobim.com/u/kamuYAGW8)\
**Post date:** [April 23, 2021, 12:06pm UTC](https://forum.dynamobim.com/t/adding-2-lists-together-under-the-same-index/63215/1 "2021-04-23T12:06:31Z")

</div>

Hi Folks,  
I am a lost. I want a simple graph there are adding the 2 list together. The “watch” list index 0 should be in the list index 0. How can I add them together were they are under the same index ?

I hope you can help …  
/Karsten

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/4/749606d6f0f3939d5690fc4dd3d87471acb50701.png)

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [April 23, 2021, 12:28pm UTC](https://forum.dynamobim.com/t/adding-2-lists-together-under-the-same-index/63215/2 "2021-04-23T12:28:37Z")

</div>

Hello,

Did you just try flatten?

KR

Andreas

 ![2021-04-23_14h33_42](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/7/17331db0eca43a8d841d191b8fbb8d5886b09c6b.png)

---

<div class="post-metadata">

**Author:** ![kamuYAGW8](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kamuyagw8/32/115262_2.png) [@kamuYAGW8](https://forum.dynamobim.com/u/kamuYAGW8)\
**Post date:** [April 23, 2021, 1:01pm UTC](https://forum.dynamobim.com/t/adding-2-lists-together-under-the-same-index/63215/3 "2021-04-23T13:01:48Z")

</div>

Flatten node is to much… i just want to a some new values in the list at the same lacing.  
Therefore L1 in the list, i want to add values.

Do you have a good graph for that ?

---

<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:** [April 23, 2021, 2:47pm UTC](https://forum.dynamobim.com/t/adding-2-lists-together-under-the-same-index/63215/4 "2021-04-23T14:47:09Z")

</div>

Is `List.Transpose` not getting you what you need? It might be more helpful if you could show us what your expected outcome would look like.

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [April 24, 2021, 7:07am UTC](https://forum.dynamobim.com/t/adding-2-lists-together-under-the-same-index/63215/5 "2021-04-24T07:07:58Z")

</div>

As Nick say it isnt easy to know what you are looking for…something like this??

 ![Screenshot 2021-04-24 090520](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/7/e7abeba7c32a972b59fd7bf97c43b8a34c53ee04.png)

---

<div class="post-metadata">

**Author:** ![Daan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/daan/32/82246_2.png) [@Daan](https://forum.dynamobim.com/u/Daan)\
**Post date:** [April 24, 2021, 3:25pm UTC](https://forum.dynamobim.com/t/adding-2-lists-together-under-the-same-index/63215/6 "2021-04-24T15:25:59Z")

</div>

Hey @kamuYAGW8 ,

You need to chop the first list with List.Chop (with 1), because you need to split your main list into multiple  
After that you can use List.additemtofront/end **or** List.combine
