Help

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

Automatically replace specific words with a number in a column

Topic Labels: Formulas
1405 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Alexis_Piraina
4 - Data Explorer
4 - Data Explorer

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