Index(collect) argument
Good morning,
This should be a simple formula to create but I am not properly completing my argument. I have a sheet that has three columns, Most recent (checkbox), date, & summary. From another sheet I want to receive data that is in the summary column if the checkbox in the most recent is checked. The logic on the target sheet will never have more than one check box selected.
Formula –
=INDEX(COLLECT({sheetname - Narrative Summary - In Range 2}, {sheetname
- Narrative Summary - In Range 1}, true))
Range 2 = the summary column
Range 1 = most recent column where the checkbox is selected.
Any guidance would be most, most appreciated.
Thanks,
Best Answer
-
@Jeffmurr I think the help says column is optional, but generally Index needs row and column addressing. Here is what works for me (the IFERROR makes sure the view stays clean if Most Recent isn't checked).
=IFERROR(INDEX(COLLECT(Summary@row, [Most Recent]@row, true), 1), "")
dm
Answers
-
@Jeffmurr I think the help says column is optional, but generally Index needs row and column addressing. Here is what works for me (the IFERROR makes sure the view stays clean if Most Recent isn't checked).
=IFERROR(INDEX(COLLECT(Summary@row, [Most Recent]@row, true), 1), "")
dm
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.2K Get Help
- 360 Global Discussions
- 199 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 444 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!