This will allow the List.Transpose and Excel.WriteToFile to work correctly.
I have come up with the attached graph but it’s very rigid and is the wrong approach and it also add’s unwanted data.List to Excel.dyn (16.7 KB)
Sorry I must not be understanding. I thought you wanted a way to get what you had in the first picture to look like the 2nd picture but without you have to add “” to even up the lengths of the list
The below outputs are identical from the 2 different lists you’ve given as inputs.
My second image was just showing what I wanted the out in the Watch node to look like. I just don’t know the best way to get random lists to include the null values based on the maximum nested list length.
So,
The maximum nested length = 7
So I need to make sure all my nested lists length = 7 items long.
Result should be 3 lists of 7 items like shown in the second image.
The first transpose will add null values if it can’t find a value. If you don’t mind the values being nulls you can just transpose then transpose again without removing the nulls