4.5 Merge by row - different name and number of columns - keep only columns of the first file

 

Before merging:

FruitsPriceStock.xlsx

imagepng

MeatsPriceStock.xlsx

imagepng

After merging:

imagepng

Script:

A
1 =file(“FruitsPriceStock.xlsx”).xlsimport@t()
2 =file(“MeatsPriceStock.xlsx”).xlsimport@t()
3 =A1.insert@f(0:A2)
4 =file(“FoodsPriceStock.xlsx”).xlsexport@t(A3)

A3: @f option means inserting the data of the same fields in A2 into A1


https://c.scudata.com/article/1651916536524
https://c.scudata.com/article/1652484718779
https://c.scudata.com/article/1652572129931