Hi.
I have three different agencies that have a list of employee names and email addresses. When I do data entry into Smartsheets, I am trying to pull the list of the agencies email addresses into the form so I can send them an email. Here's the formula I have so far, but I'm getting an #incorrect arguement set.
=IF(Agency@row = "TFD", INDEX(COLLECT({TFD Contacts List - Email}, {TFD Contacts List - Name}, [Primary Apparatus Crew]@row, 1), IF(Agency@row = "NWFD", INDEX(COLLECT({NWFD Contacts List - Email}, {NWFD Contacts List - Name}, [Primary Apparatus Crew]@row, 1), IF(Agency@row = "GRFD", INDEX(COLLECT({GRFD Contacts List - Email}, {GRFD Contacts List - Name}, [Primary Apparatus Crew]@row, 1)))))
What am I doing wrong??
Here's a screen shot of my data entry form:
Here's a screen shot of my contacts list:
* I removed the email address for these employees so it's not published
Thoughts?