Extract first 3 letters after the first space
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
Answers
-
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
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!