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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!