Help

The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.

Trim and Substitute '

Topic Labels: Formulas
678 1
cancel
Showing results for 
Search instead for 
Did you mean: 
K_B1
5 - Automation Enthusiast
5 - Automation Enthusiast

I am working on a formula that

1. Trims

2. Replaces Double Quotes (") with Apostrophes Quote (')

3. Replaces Ampersands (&) with 'and'.

TRIM(SUBSTITUTE(
SUBSTITUTE(DESCRIPTION, '"', ''),'&','and'))

The above works, except, if I change it to include the Apostrophes Quote ('), it gets an airtable error.  Any advice?

Kevin

1 Reply 1
TheTimeSavingCo
18 - Pluto
18 - Pluto

Try this:

 

TRIM(
  SUBSTITUTE(
    SUBSTITUTE(
      Description, 
      '"', 
      "'"
    ),
    '&',
    'and'
  )
)

Screenshot 2024-02-27 at 10.25.04 AM.png