Adding additional details in Excel usking vlookup

In this code the bot is downloading the excel file from SAP and as we can see in Figure one for certain “Billing Document” the value of Bill documents remain same but GT invoice changes
So currently bot is picking up one GT invoice value only but requirements is that it pics multiple GT invoice example Figure 2.


It’s using vlookup activity to get GT invoice number.

Hello,

Are you want to get all “GT” values based on “billing document”?

yes i want all the GT invoice no for same Billing Document , those who contain single invoice as well as multiple one

First get all the “Billing document” column values without duplicates using datatable.DefaultView.ToTable(True,“Column Name”).loop through each billing document and use filter datatable activity to get all the Gt invoice number corresponding to the billing document