4.4 Merge by row - different name and number of columns - keep only duplicate columns
Before merging:
FruitsPriceStock.xlsx

MeatsPriceStock.xlsx

After merging:

Script:
| A | |
|---|---|
| 1 | =file(“FruitsPriceStock.xlsx”).xlsimport@t() | 
| 2 | =file(“MeatsPriceStock.xlsx”).xlsimport@t() | 
| 3 | =create(${(A1.fname()^A2.fname()).concat@c()}) | 
| 4 | =A3.insert@f(0:A1) | 
| =A3.insert@f(0:A2) | |
| =file(“FoodsPriceStock.xlsx”).xlsexport@t(A3) | 
A3: Only duplicate columns need to be kept, so use the intersection of column names
esProc Desktop and Excel Processing
4.3 Merge by row - different name and number of columns - keep all columns
4.5 Merge by row - different name and number of columns - keep only columns of the first file
SPL Official Website 👉 https://www.esproc.com
SPL Feedback and Help 👉 https://www.reddit.com/r/esProc_Desktop/
SPL Learning Material 👉 https://c.esproc.com
Discord 👉 https://discord.gg/sxd59A8F2W
Youtube 👉 https://www.youtube.com/@esProcDesktop
Linkedin Group 👉 https://www.linkedin.com/groups/14419406/