INDEX/DISTINCT with multiple criteria
Hello,
I am trying to create a formula that will pull in a distinct text with multiple criteria. I do have a helper column.
The original formula I used works in a different scenario where only one criteria is met. =INDEX(DISTINCT({CLT}), Number@row)
But now I want to create one that pulls in "SegAddy" when "RTRD" box IS NOT checked.
I am trying things like this, and turning up unsuccessful "incorrect argument"
COLLECT(DISTINCT({SegAddy}), Number@row, {RTRD}, 0)
INDEX(DISTINCT({SegAddy}), Number@row, {RTRD}, 0)
Please help me formulate the correct argument to meet my goal of pulling in the "SegAddy" only when the "RTRD" box (from source sheet) is not checked.
Thanks!!
Answers
-
Distinct() takes a range as an argument, and collect returns a range, so if you use collect() to collect the range of values you want, then wrap it in distinct() then that should work.
So, distinct(collect()). Then you could put that into your INDEX() function.
Darren Mullen, join the Smartsheet Guru Elite
Get my 7 Smartsheet tips here
Author of: Smartsheet Architecture Solutions
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!