Skip to main content
Solved

Need help with nested SUBSTITUTE formula

  • February 13, 2021
  • 2 replies
  • 20 views

Forum|alt.badge.img+3

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”
)

Best answer by augmented

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.

2 replies

Forum|alt.badge.img+18
  • Inspiring
  • Answer
  • February 13, 2021

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.


Forum|alt.badge.img+3
  • Author
  • New Participant
  • February 13, 2021

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.


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.