I'm trying to do a pulldata() function to do the following: I have a list of facilities to choose from, and want the survey location to be recorded as the address of the specific facility that is chosen from the dropdown menu. The reason I need to do this is so that I can attach the survey to the facility when used as a service layer in AGOL. Does that make sense? I don't want the survey to be geocoded to where the person is when the complete and submit the survey.
I've been working on it the entire day and for some reason, it keeps returning the wrong X,Y coordinates for some and is returning nothing for others. Here is what I have:

NOTE: PortAddressC is the csv file
COMPANY is the list of facilities that match up to the port_authority_list
PLEASE HELP ME! I'm losing my mind.