I have a list that I would like to convert to a data table Data looks as below:
"Customer"
"Steve"
"AddressLine"
"2041"
"Total"
"10"
"MailItemInfo"
"None"
"Customer"
"Mike"
"AddressLine"
"2043"
"Total"
"20"
"MailItemInfo"
"Yes"
"Customer"
"Jenn"
"AddressLine"
"1132"
"Total"
"24"
"MailItemInfo"
"Yes"
This pattern ends up repeating itself for 5 different addresses. I would like to put every other row into a new column, such that :
"Customer" "AddressLine" "BatchTotal" "MailItemInfo"
"Steve" "2041" "10" "None"
"Mike" "2043" "20" "Yes"
"Jenn" "1132" "24" "Yes"
I would like it so that whenever these new "columns" continue to appear in the data list - they would auto populate into the new columns. Anyone that can provide a solution would truly be a help!