8.5 Intersection, union and difference in the case of row-based data - multiple sets
There is a file top10Sales.xlsx, which lists the sales data of the top 10 products by sales in the first couple of months of the year (the number of months will increase over time):
Find out the products that make the top 10 in every month of these months:
A | |
---|---|
1 | =file(“top10Sales.xlsx”).xlsopen() |
2 | =A1.(A1.xlsimport@t(;stname)).merge@oi(ProductName) |
Find out the products that make the top 10 once or more:
A | |
---|---|
1 | =file(“top10Sales.xlsx”).xlsopen() |
2 | =A1.(A1.xlsimport@t(;stname)).merge@ou(ProductName) |
Find out the products that make the top 10 in January but fail to make the top 10 in any of other months:
A | |
---|---|
1 | =file(“top10Sales.xlsx”).xlsopen() |
2 | =A1.(A1.xlsimport@t(;stname)).merge@od(ProductName) |
esProc Desktop and Excel Processing
8.4 Intersection, union and difference in the case of row-based data - two sets - by whole row
8.6 Judge equality of sets when order is considered
SPL Official Website 👉 https://www.scudata.com
SPL Feedback and Help 👉 https://www.reddit.com/r/esProc_Desktop/
SPL Learning Material 👉 https://c.scudata.com
Discord 👉 https://discord.gg/cFTcUNs7
Youtube 👉 https://www.youtube.com/@esProcDesktop
Linkedin Group 👉 https://www.linkedin.com/groups/14419406/