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, smartsheetguru.com
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
- 62.1K Get Help
- 351 Global Discussions
- 198 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 133 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 443 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!