I need some help using an IF statement within a CONCATENATE formula. I have tried many permutations but have just not found the right syntax.
I have the following fields:
- AirtableID
- CompanyName
- Project
- Sub-Project
- Person
In the Name field of a table, I want to concatenate these fields as such:
If Sub-Project is not NULL, then Name = AirtableID_CompanyName_Sub-Project_Person
Else (Sub-Project is NULL), then Name = AirtableID_CompanyName_Project_Person
Here is as far as I got, and I know the syntax is not right:
CONCATENATE({AirtableID},’’,{CompanyName},’’,IF({Sub-Project} = 0,{Project},{Sub-Project}),’_’,{Person})
Thanks!