Hi,
What I want to do is sum values in a column if the policy number ( stored in one column) and the service code (stored in another column) are the same, if not I don't want want to sum it, I want to start a new sum
IF Cell A2= a1, if c2= c1, L2= d2+d1, " "
Any suggestions?
What I want to do is sum values in a column if the policy number ( stored in one column) and the service code (stored in another column) are the same, if not I don't want want to sum it, I want to start a new sum
IF Cell A2= a1, if c2= c1, L2= d2+d1, " "
Code:
Here is a sample of data:
a C D L (result I want)
767000510004 1608 292.78 2214.07
767000510004 1608 1921.29
767000510004 1609 2.05 186.34
767000510004 1609 184.29
767000510004 1612 6606.29
767000510004 1612 2506.59
767000510006 1608 3363.15
767000510006 1608 686.89
767000510006 1608 273.83
767000510006 1608 5.12
767000510006 1608 6.37
767000510006 1608 15.4
767000510006 1608 1.12
767000510006 1608 59.32
767000510006 1609 2647.58
767000510006 1609 579.95
767000510006 1609 333.69
767000510006 1609 42.19
767000510006 1609 1.15
767000510006 1609 7.69
767000510006 1609 6.89
767000510006 1609 17.78
767000510006 1609 7.66
767000510006 1609 24.61
767000510006 1609 5.89
767000510006 1609 47.73
767000510006 1612 5092.31
767000510006 1612 307.43
767000510006 1612 25.51