Help

Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

Automatically replace specific words with a number in a column

Topic Labels: Formulas
133 1
cancel
Showing results for 
Search instead for 
Did you mean: 

Hey,

I have a column containing words from a enumeration:

ONE
TWO
THREE
FOUR
FIVE

Does any one know of a formula to automatically replace those words by their corresponding number?

1
2
3
4
5

Any help appreciated :slightly_smiling_face:

1 Reply 1

Hi,

SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
{Field name},
'ONE','1'),
'TWO','2'),
'THREE','3'),
'FOUR','4'),
'FIVE','5')