I need help creating a macro that can delete rows of data when the sum of the amounts in Column B equals zero for each identification number in Column A. I've used pivot tables and subtotals in the past, but with thousands of rows, it is still a time-suck.
For example:
 1 1001    6 
 2 1001   -1
 3 1002   15
 4 1002  -13
 5 1001   -5
I would want it to delete the rows with ID# 1001 because they zero out, but leave the rows with ID# 1002 completely alone.
Thanks! I appreciate all the help I can get.
 
     
    