Need help with nested SUBSTITUTE formula

Can you spot an error with this formula? I’ve tried multiple variations and keep getting, “Sorry there was a problem saving this field. Invalid formula…”

SUBSTITUTE(
SUBSTITUTE(
    SUBSTITUTE({Status},
        “Destroyed”,”Sold”
        ),
    “Gifted”,”Sold”
    ),
“Stored/Loan”,”Sold”
)

I think it’s those curly quotes. Look at them closely on “Sold”. It looks like double closed curly quotes.

I’m not sure how you make them, but with normal double quotes your formula works for me.

1 Like

You were correct! I was pasting from the Apple Notes app and so after reading your comment, I re-wrote the code in Visual Studio and then pasted it into Airtable and voila! It worked. Thank you! the quotes in Apple Notes were not being read properly by Airtable.

This topic was solved and automatically closed 3 days after the last reply. New replies are no longer allowed.