Help

Save the date! Join us on October 16 for our Product Ops launch event. Register here.

Re: Trim and Substitute '

466 0
cancel
Showing results for 
Search instead for 
Did you mean: 
K_B1
4 - Data Explorer
4 - Data Explorer

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