Hi,
Can someone please advise how to merge first two columns (Fund code and Fund code#) into one?
Thanks a mil!
Lucy
Solved! Go to Solution.
Hi @LucyR
You can use the Formula Tool to do that.
Create a New Column -
IF IsEmpty(Fund Code) and !IsEmpty(Fund Code #) THEN Fund Code #
ELSEIF IsEmpty(Fund Code #) and !IsEmpty(Fund Code) THEN Fund Code
ELSE Fund Code ENDIF
Drop the two old columns with the Select Tool.
Cheers,
Hi,
Thanks for your response but it doesn't seem to be working. Please see below and advise. Thanks a mil
Hi @LucyR,
all field names in your expression should be enclosed in square brackets (i.e. [Fund Code] rather than Fund Code).
Hope this helps,
Giuseppe
I mistyped the second else, it should be ELSEIF
Also, add the brackets as @GiuseppeC mentioned
IF IsEmpty([Fund Code]) and !IsEmpty([Fund Code #]) THEN [Fund Code #]
ELSEIF IsEmpty([Fund Code #]) and !IsEmpty([Fund Code]) THEN [Fund Code]
ELSE [Fund Code] ENDIF
Cheers,
It is still not working. Please see below
@Thableaus
I fixed ELSEIF formula and it isn't working. Please see below
You forgot to add parenthesis between the fields.
Copy and paste this expression
IF IsEmpty([Fund Code]) and !IsEmpty([Fund Code #]) THEN [Fund Code #]
ELSEIF IsEmpty([Fund Code #]) and !IsEmpty([Fund Code]) THEN [Fund Code]
ELSE [Fund Code] ENDIF
Cheers,