Help

Re: Split Up text into another column I tried this formula but it works only for few fields

Solved
Jump to Solution
705 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Fazia_Fayyaz
5 - Automation Enthusiast
5 - Automation Enthusiast

Hello everyone, it’s urgent please reply to me I want to split up the text in another column but want to exclude the last 2 numbers I tried this formula but it is not working on all fields for reference see attached ss i added a formula but it works only for 1, not for all please help me

Screenshot 2022-01-27 232726
Screenshot 2022-01-27 232705

1 Solution

Accepted Solutions
kuovonne
18 - Pluto
18 - Pluto

Your formula is looking for a space in the text field. Notice that in the fields were you get a result, there is a space before the final dash and two digits.

It also looks like the final ending is not always a two digit number–sometimes it is three digits, and sometimes it is two digits and a letter. Sometimes this final number is preceded by a space and a dash, sometimes only by a dash, and sometimes the final number is smushed against the preceding word word. In order to get a robust formula field, you need to better define what you want removed from the string. Once you determine that, I recommend using a REGEX function to get the text you want. There are several REGEX patterns that will get the result you want.

You say that it is urgent, but please recognize that this is a community forum of other Airtable users. Most of the people on this forum who answer questions (including myself) are people who volunteer their time and expertise.

See Solution in Thread

1 Reply 1
kuovonne
18 - Pluto
18 - Pluto

Your formula is looking for a space in the text field. Notice that in the fields were you get a result, there is a space before the final dash and two digits.

It also looks like the final ending is not always a two digit number–sometimes it is three digits, and sometimes it is two digits and a letter. Sometimes this final number is preceded by a space and a dash, sometimes only by a dash, and sometimes the final number is smushed against the preceding word word. In order to get a robust formula field, you need to better define what you want removed from the string. Once you determine that, I recommend using a REGEX function to get the text you want. There are several REGEX patterns that will get the result you want.

You say that it is urgent, but please recognize that this is a community forum of other Airtable users. Most of the people on this forum who answer questions (including myself) are people who volunteer their time and expertise.