Excel 2012 | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | 119 | Range Names: | refers to: | |||
2 | 471 | list | A1:A5 | |||
3 | 119 | <<< Duplicate | list_start | A1 | ||
4 | 553 | |||||
5 | 119 | |||||
6 | 1143 | <<< Sum EXCLUDING Duplicates | ||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
A6 | {=SUM(IF(IF(MATCH(list, list, 0)=(ROW(list)-ROW(list_start)+1), (ROW(list)-ROW(list_start)+1), 0)<>0, list, ""))} | |
Press CTRL+SHIFT+ENTER to enter array formulas. |
Named Ranges | ||
---|---|---|
Name | Refers To | Cells |
list | =Sheet1!$A$1:$A$5 | |
list_start | =Sheet1!$A$1 |