Create unique list that populates a second sheet (not report)?
Hello, I'm having trouble figuring out the correct formula to populate a list of unique locations and totals their entries on a second sheet. I couldn't find a forum example that doesn't use a report. This needs to be on a second sheet because it will be used in other formulas and dashboards.
Sheet 1 includes a list of locations, activities, and results. It will continue to populate new rows that are generated from a form.
Sheet 2 needs to list the unique locations and total their results:
I've fussed with INDEX/DISTINCT/COLLECT and it's not working. Thank you for your help!
Best Answer
-
You would insert a text/number column (called "Number" in this example) onto the second sheet and manually populate the numbers 1 - # to prepopulate as many rows as you think you will need plus a buffer. If you anticipate no more than 50 unique entries then I would suggest populating 75 rows.
Then you would use this to pull in the unique list:
=IFERROR(INDEX(DISTINCT(COLLECT({Locations}, {Locations}, @cell <> "")), Number@row), "")
Answers
-
You would insert a text/number column (called "Number" in this example) onto the second sheet and manually populate the numbers 1 - # to prepopulate as many rows as you think you will need plus a buffer. If you anticipate no more than 50 unique entries then I would suggest populating 75 rows.
Then you would use this to pull in the unique list:
=IFERROR(INDEX(DISTINCT(COLLECT({Locations}, {Locations}, @cell <> "")), Number@row), "")
-
Thank you!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!