• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Sum only unique values

AV114

Member
I have number values and what I'm looking for is a formula that will add all the values together but will only add total values once one time.

Example

Code:
O Code    Imports        Total
1703024    10        44
1703024    4       
1703024    20       
1703021    20        110
1703024    10       
1703021    90
 
Can you check this following formula.

=IF(COUNTIF(A$2:A2,A2)=1,SUMIF(A$2:A$7,A2,$B$2:B$7),"")

Attached sample working file also.

Thanks,
 

Attachments

  • Book2.xlsx
    10.1 KB · Views: 2
Back
Top