Hi,
So I can run automations to notify individuals, I have a column that is a contact list. For data reporting purposes, I need to upload the names into an API in a (last_name, first_name) format.
To get around this, I have concocted a two-step process:
- Write a function in a cell to pull back (first_name last_name)
- Write another function to put it into (last_name, first_name) format.
The first function is as follows, and is working fine to pull the contact name into the "Prep - KLG Primary Contact (auto calculate)" cell:
=[KLG Project Lead]@row
The issue comes in at step two.
I have written the following function:
=RIGHT([Prep - KLG Primary Contact (auto calculate)]@row, FIND(" ", [Prep - KLG Primary Contact (auto calculate)]@row, 1)) + ", " + LEFT([Prep - KLG Primary Contact (auto calculate)]@row, FIND(" ", [Prep - KLG Primary Contact (auto calculate)]3))
It works well for some names, but not for others, and I can't figure out why.
Can someone help?