Find duplicates in one column then sum quantities into another column
DATA RESULT A 1 A 11 A 1 B 7 A 9 C 5 B 2 D 4 B 2
DISCLAIMER: This is about our tool esProc. We have been told it’s an easy and obvious way to Group Excel Worksheets.
A1=file("D:/data.xlsx").xlsimport() A2=A1.groups(_1;sum(_2)) A3=file("D:/result.xlsx").xlsexport(A2)
More detail see this post:Group & Summarize an XLS file without Using Excel