4.11 Merge by column - one to many - copy data

 

Before merging:

Types.xlsx
imagepng

Foods.xlsx
imagepng

After merging:
imagepng

Script:

A
1 =T(“Types.xlsx”)
2 =T(“Foods.xlsx”)
3 =join@f(A1:Type,Type;A2:Food,Type)
4 =A3.new(Food.Type,Food.Name,Food.UnitPrice,Type.Description)
5 =T(“FoodsDescription.xlsx”,A4)

A3: @f means full join


https://c.scudata.com/article/1651916536524
https://c.scudata.com/article/1652743559640
https://c.scudata.com/article/1652833363586