I have a very complex output in Excel format. I am stucked.
Input
Output
Conditions:
-
if invoicenocol meets amountcol, it means it is within the same page, else, there are two pages for it
-
datecol needs to be the same for all rows within the same invoiceno
-
containerno needs to be the same if there are two items for description and amount below the containerno
-
Only take description and amount. Leave the description where the amount is empty
Below is the sample Excel
Invoice_Input.xlsx (10.2 KB)
Invoice_Output.xlsx (10.4 KB)