Extract first 3 letters after the first space

Options

Hello,

I'm looking to extract the first 3 letters in the word that follows the first occurence of a space. Here are some examples:

Budgeting
Building Relationships
Changing the Language

Holding People Accountable

For "Budgeting" it's fine to return nothing.

For Changing the Langauge I would want to return Lan…so maybe I'm actually looking to return the first 3 letters after the second capital letter?

Thanks in advance.

Hannah

Tags:

Answers

  • Paul McGuinness
    Paul McGuinness ✭✭✭✭✭✭
    Options

    Hi @Hannah_H

    Based on the test below this formula should do what you need:

    =IFERROR(MID([Column2]@row, FIND(" ", [Column2]@row, (FIND(" ", [Column2]@row) + 1)), 4), IF(FIND(" ", [Column2]@row) = 0, "", MID([Column2]@row, FIND(" ", [Column2]@row) + 1, 3)))

    It is only set up for sentences with up to two spaces, anything with more spaces will still return the 3 letters following the second space.

    Hope that helps

    Thanks

    Paul

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!