Sum if unique names only
Hi there, I have a rollup sheet that adds the amounts if the names are unique. I get the names with a vlookup formula to get them from the source file. The source file has the names entered multiple times but their amounts are the same. I identify unique names with a formula that places the #1 in the column CountUniques. If it finds the name multiple times, that formula changes to a different number.
How can I add the amounts to include only one name if multiples exist? I am stomped on this one.
Thank you in advance.
Best Answer
-
Try something like this...
=IF(CountUniques@row = 1, SUMIFS(Amount:Amount, CountUniques:CountUniques, @cell = 1, Names:Names, @cell = Names@row))
Answers
-
Try something like this...
=IF(CountUniques@row = 1, SUMIFS(Amount:Amount, CountUniques:CountUniques, @cell = 1, Names:Names, @cell = Names@row))
-
Thank you for the quick response Paul. I will try your formula as soon as I can.
Help Article Resources
Categories
Check out the Formula Handbook template!