4.9 Merge by row - convert file names to column values - unfixed number of files
Before merging:
Apple.xlsx
Bread.xlsx
Pork.xlsx
After merging:
Script:
A | |
---|---|
1 | =directory@p(“tmp/*.xlsx”) |
2 | =A1.conj((fn=filename@n(~),T(~).derive(fn:Commodity))) |
3 | =file(“Amount.xlsx”).xlsexport@t(A2) |
A1: List all files in the directory, which can be used to process unfixed number of files
https://c.scudata.com/article/1651916536524
https://c.scudata.com/article/1652670522953
https://c.scudata.com/article/1652743559640
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/2bkGwqTj
Youtube 👉 https://www.youtube.com/@esProcDesktop
Linkedin Group 👉 https://www.linkedin.com/groups/14419406/