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
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!