# Creating an excel List-How to display specific portions of a line

**URL:** <https://forum.dynamobim.com/t/creating-an-excel-list-how-to-display-specific-portions-of-a-line/18592>\
**Category:** Revit\
**Created:** [January 29, 2018, 3:15pm UTC](https://forum.dynamobim.com/t/creating-an-excel-list-how-to-display-specific-portions-of-a-line/18592 "2018-01-29T15:15:05Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![SRobbins](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@SRobbins](https://forum.dynamobim.com/u/SRobbins)\
**Post date:** [January 29, 2018, 3:15pm UTC](https://forum.dynamobim.com/t/creating-an-excel-list-how-to-display-specific-portions-of-a-line/18592/1 "2018-01-29T15:15:06Z")

</div>

Trying to get this list to print only the sheet number from the revisions list. Could really use some help on this. Getting stuck.

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/1/21383d6e7242f0a48f0c48cc3e73c18f3f531888.JPG)

Thank you for any help you can offer.

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [January 29, 2018, 3:36pm UTC](https://forum.dynamobim.com/t/creating-an-excel-list-how-to-display-specific-portions-of-a-line/18592/2 "2018-01-29T15:36:59Z")

</div>

Hi @SRobbins

Your workflow is completely different than your end goal. There is custom node from clockwork package that will get sheets from revision clouds and then use Sheet.Number OOTB node at the end.

 ![2016-04-20_11-10-40](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/1X/63e9949fec3e76418665b40624c2a1210b9abe8f.png)

---

<div class="post-metadata">

**Author:** ![SRobbins](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@SRobbins](https://forum.dynamobim.com/u/SRobbins)\
**Post date:** [January 29, 2018, 7:37pm UTC](https://forum.dynamobim.com/t/creating-an-excel-list-how-to-display-specific-portions-of-a-line/18592/3 "2018-01-29T19:37:34Z")

</div>

Any ideas on how to do this with out Clockwork? Thank you.

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [January 30, 2018, 2:44am UTC](https://forum.dynamobim.com/t/creating-an-excel-list-how-to-display-specific-portions-of-a-line/18592/4 "2018-01-30T02:44:10Z")

</div>

> [@SRobbins](#):
>
> Any ideas on how to do this with out Clockwork? Thank you.

Can I ask why the aversion to clockwork? It’s like one of the must have packages. Attempting to avoid it will cost you many a man hour rebuilding the work contained therein.

As an alternative, you could do some string gymnastics. A String.Replace node to swap all of the stuff before the sheet number with an empty string (I think this works if they are always `"Workset : View "Sheet:` formatted), then split the remaining strings at the `" - "`, and do a List.Transpose to get a `{SheetNumbers,SheetNames,OtherSheetNameParts}` list. Get that first item from that list and you’d likely have the data you’re after.

Course if your naming standards aren’t perfect that’ll fall apart at the String.Split command. Or if someone drew one in a view instead of on a sheet. And there’s likely going to be other issues since I only see two entries in your current dataset.

---

<div class="post-metadata">

**Author:** ![SRobbins](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@SRobbins](https://forum.dynamobim.com/u/SRobbins)\
**Post date:** [January 30, 2018, 2:00pm UTC](https://forum.dynamobim.com/t/creating-an-excel-list-how-to-display-specific-portions-of-a-line/18592/5 "2018-01-30T14:00:55Z")

</div>

Trying to learn. But caved in and grab archilab. Made another attempt but in a different direction. Please see attached. I just dont know what I’m missing

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/b/3b4bb97e71bb8b8d64bc952a42826cc864c8b8a2.JPG).

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [January 30, 2018, 7:45pm UTC](https://forum.dynamobim.com/t/creating-an-excel-list-how-to-display-specific-portions-of-a-line/18592/6 "2018-01-30T19:45:22Z")

</div>

My guess is that the results of the node in the red circle are bad. Preview them for us. I guess this as that node is asking for revisions, and you are giving it sheets (yellow circles).

 ![IMG_2005](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/7/670b2038f1e55d02245a5ab07d68f0d71de8d0ae.JPG)

---

<div class="post-metadata">

**Author:** ![SRobbins](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@SRobbins](https://forum.dynamobim.com/u/SRobbins)\
**Post date:** [January 30, 2018, 8:35pm UTC](https://forum.dynamobim.com/t/creating-an-excel-list-how-to-display-specific-portions-of-a-line/18592/7 "2018-01-30T20:35:16Z")

</div>

Well, I took a new direction again. This time I’m trying to combine sheet numbers and revisions based on their sheet worksets.

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/4/b42076fc08a2ffad52f2e6d538c62f7724b9ae50.JPG) BUT I fear I do not understand how List.Combine works and google results turn up web pages with garble on them. 😕

---

<div class="post-metadata">

**Author:** ![awilliams](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/awilliams/32/114496_2.png) [@awilliams](https://forum.dynamobim.com/u/awilliams)\
**Post date:** [January 30, 2018, 10:26pm UTC](https://forum.dynamobim.com/t/creating-an-excel-list-how-to-display-specific-portions-of-a-line/18592/8 "2018-01-30T22:26:11Z")

</div>

@SRobbins In your most recent approach I believe you would want to be using List.GroupByKey, with the list as a flattened list of the revisions and the sheets, and the keys being a flatten listed of those elements’ worksets. See below:

 ![revisionssheets](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/9/a9d4d7721952923688843c2323b97ee0c240c8d8.png)

I don’t believe this is the best method for what your end goal is, however.

( Here is info on List.Combine from the Dynamo Dictionary, by the way [http://dictionary.dynamobim.com/#/Core/List/Action/List.Combine](http://dictionary.dynamobim.com/#/Core/List/Action/List.Combine) )

---

<div class="post-metadata">

**Author:** ![SRobbins](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@SRobbins](https://forum.dynamobim.com/u/SRobbins)\
**Post date:** [February 1, 2018, 5:02pm UTC](https://forum.dynamobim.com/t/creating-an-excel-list-how-to-display-specific-portions-of-a-line/18592/9 "2018-02-01T17:02:53Z")

</div>

Thanks Amy. Unfortunately I saw this too late. We solved it by just looking at the revision clouds and removing the surplus information in the workset. Here is what it looks like:

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/c/9c9d4c85dd81130088b8839079815ed1fe6c350f.JPG)

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [February 2, 2018, 5:33am UTC](https://forum.dynamobim.com/t/creating-an-excel-list-how-to-display-specific-portions-of-a-line/18592/10 "2018-02-02T05:33:55Z")

</div>

Glad you worked it out! 😃

---

<div class="post-metadata">

**Author:** ![SRobbins](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@SRobbins](https://forum.dynamobim.com/u/SRobbins)\
**Post date:** [February 2, 2018, 1:47pm UTC](https://forum.dynamobim.com/t/creating-an-excel-list-how-to-display-specific-portions-of-a-line/18592/11 "2018-02-02T13:47:15Z")

</div>

Thanks. Not as romantic as I was hoping, but better than some of the other things I was trying.
