# Create definitive list from a stock inventory list

**URL:** <https://community.glideapps.com/t/create-definitive-list-from-a-stock-inventory-list/13340>\
**Category:** Ask for Help\
**Created:** [July 31, 2020, 6:55am UTC](https://community.glideapps.com/t/create-definitive-list-from-a-stock-inventory-list/13340 "2020-07-31T06:55:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandro\_Brito](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sandro_brito/32/552_2.png) [@Sandro\_Brito](https://community.glideapps.com/u/Sandro_Brito)\
**Post date:** [July 31, 2020, 6:55am UTC](https://community.glideapps.com/t/create-definitive-list-from-a-stock-inventory-list/13340/1 "2020-07-31T06:55:48Z")

</div>

Hello Gliders.  
I have a list of items with quantity if available items and I need a list with each item on a row, the same number of times of the described availability. This is hundreds of items and I don’t want to have to do it by hand if possible.

Can anyone think of a solution for this?

---

<div class="post-metadata">

**Author:** ![sardamit](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sardamit/32/263_2.png) [@sardamit](https://community.glideapps.com/u/sardamit)\
**Post date:** [July 31, 2020, 8:47am UTC](https://community.glideapps.com/t/create-definitive-list-from-a-stock-inventory-list/13340/2 "2020-07-31T08:47:20Z")

</div>

Can probably use some Google Apps Script to run a loop over the list of items, and then run another nested loop to repeat the rows n number of times.

---

<div class="post-metadata">

**Author:** ![Sandro\_Brito](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sandro_brito/32/552_2.png) [@Sandro\_Brito](https://community.glideapps.com/u/Sandro_Brito)\
**Post date:** [July 31, 2020, 10:57am UTC](https://community.glideapps.com/t/create-definitive-list-from-a-stock-inventory-list/13340/3 "2020-07-31T10:57:22Z")

</div>

I’ve done this now.
