Author: Oscar Cronquist Article last updated on March 13, 2018


Array Formula in A15:

=SUM(IF(COUNTIF(List1, List1)+COUNTIF(List2, List1)=1, List1)+IF(COUNTIF(List2, List2)+COUNTIF(List1, List2)=1, List2)) + CTRL + SHIFT + ENTER

Named ranges
List1 (A2:A11)
List2 (B2:B11)
What is named ranges?

Download excel sample file for this tutorial.
Comparing two columns and sum unique values.xls
(Excel 97-2003 Workbook *.xls)

Functions in this article:

Counts the number of cells within a range that meet the given condition

Adds all the numbers in a range of cells

Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE