Excel - Find duplicates in one column then sum quantities into another column?

前端 未结 2 1385
野性不改
野性不改 2021-01-29 10:23

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          


        
2条回答
  •  遇见更好的自我
    2021-01-29 11:06

    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

提交回复
热议问题