4.12 Merge by column - one to many - leave subsequent rows empty
Before merging:
Types.xlsx

Foods.xlsx

After merging:

Script:
| A | |
|---|---|
| 1 | =T(“Types.xlsx”) |
| 2 | =T(“Foods.xlsx”) |
| 3 | =A1.align(A2:Type,Type) |
| 4 | =A2.new(Type,Name,UnitPrice,A3(#).Description) |
| 5 | =T(“FoodsDescription.xlsx”,A4) |
A3: Align means A1 is aligned to A2 with alignment conditions as Type field of A2 and Type field of A1; only the first row is aligned if there are duplicate data in A2
esProc Desktop and Excel Processing
4.11 Merge by column - one to many - copy data
4.13 Merge and de-duplicate by row - duplicate whole row of data
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/