Material take-off associated with element instance to excel

Hello all!

I have a problem exporting Element Materials and at the same time mapping that data with an element materials are extracted from. I have this list structure: element -> material name -> material area -> material volume but I having a struggle keeping this structure while exporting to excel.

Any suggestions if it is possible to achieve and if yes - how?

Thanks in advance :slight_smile:

and if you transform your list of IDs into a sub-list, for example with listchop

Thanks! Actually, what I did it was just List.Transpose on 2nd lvl. Still not sure how to add headings but yeah:

I do not see the composition of your lists
try this