Need help grabbing a partial piece of text
I need help with a formula that will successfully split out the Seconds numbers. I have been able to grab the Hours and Minutes but the Second is alluding me. below are the formulas I currently have loaded and are producing the results in the screenshot. The second works MOST of the time but sometimes it cuts off a digit or includes the 's'
Formulas Used
Hours- IF(May@row = "Time", "", LEFT(May@row, FIND("h", May@row) - 1))
Minutes- IF(May@row = "Time", "", MID(May@row, FIND(" ", May@row) + 1, FIND(" ", May@row, FIND(" ", May@row) + 1) - FIND(" ", May@row) - 2))
Second- IF(May@row = "Time", "", MID(May@row, FIND(" ", May@row) + 1, FIND(" ", May@row, FIND(" ", May@row) + 1) - FIND(" ", May@row) - 2))
Best Answer
-
Try this:
=IF(May@row <> "Time", MID(May@row, FIND(" ", May@row, FIND(" ", May@row) + 1) + 1, LEN(May@row) - (FIND(" ", May@row, FIND(" ", May@row) + 1) + 1)))
Answers
-
Try this:
=IF(May@row <> "Time", MID(May@row, FIND(" ", May@row, FIND(" ", May@row) + 1) + 1, LEN(May@row) - (FIND(" ", May@row, FIND(" ", May@row) + 1) + 1)))
-
Nailed it. Thank you, sir.
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 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!