I have an IF formula to populate a name column.
I’m putting in a substitute formula to remove extra spaces, and it appears to be accepted (no errors) but then it just vanishes. It leaves the “Substitute” there, but not the info about removing the spaces.
Here is my original formula:

Here is the substitute formula showing no errors:


When I hit confirm change, it reverts to this:

Any help would be appreciated, I have no idea what I’m doing wrong. (And apologies for the large screenshots, I’m unable to make them smaller for some reason).