Why is my INDEX/COLLECT formula not working?
I have a very large contact database that has columns of information need to be updated periodically. I'd like to use a separate sheet with form as an activity log, where each new row contains the updated information for a specific contact in the database. To do this, each contact in the database has a unique ID. When submitting the activity log form, the user must input the unique contact ID.
Over time, there will be multiple rows with the same contact ID, and my database only wants to reference the activity log row that's most recent. Therefore, I have a helper column in the activity log that identifies which rows have the most recent info for each contact ID. This is a checkbox column. Still following?
The formula I'm using in the database to reference the contact name in the activity log row with the most recent information is returning error #INVALID VALUE. I feel like it has something to do with the database's [Seat ID] column being formatted as an Auto-number, but don't know how to get around this since this is the only column I have that ties the two sheets together.
Any ideas how to fix this?
DATABASE
Contact Name=INDEX(COLLECT({Activity Log | Contact Name}, {Activity Log | Most Recent Update}, true, {Activity Log | Seat ID}, [Seat ID]@row), 1)
ACTIVITY LOG
Date Stamp: =IF([Date Stamp]@row = MAX(COLLECT([Date Stamp]:[Date Stamp], [Seat ID]:[Seat ID], [Seat ID]@row)), true, false)
Most Recent Update: =IF([Date Stamp]@row = MAX(COLLECT([Date Stamp]:[Date Stamp], [Seat ID]:[Seat ID], [Seat ID]@row)), true, false)
Thank you in advance for your help!!
Answers
-
Dear @K8dGr8 , its always fast if you could share the sheet with dummy data. nico.roepnack@lighthouseconsultings.com
Also if you have already AI in Smartsheet you could use this help or visit our AI Smartsheet Propmt engineering webinar.
If my comment helps you, I appreciate a 💡
Kind regards
Event: Strategies for Successful Adaption
Nico | LinkedIn
CEO | Lighthouse Consultings
Lecturer in Business Information Systems | DHBW
________________________________________________________________________________
addvalue@lighthouseconsultings.com
https://www.eventbrite.de/e/driving-change-with-smartsheet-strategies-for-successful-adoption-tickets-1047813557557?utm-campaign=social&utm-content=attendeeshare&utm-medium=discovery&utm-term=listing&utm-source=cp&aff=ebdsshcopyurlWe offer Licenses - Training - Solution Engineering
🔴Certified Smartsheet Partner _______________________________________________
💯 SCALEABLE Solutions Engineered by Lighthouse Consultings
We Don’t Just Implement Smartsheet; We Revolutionize How You Manage, Plan, And Execute.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!