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
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!