Here’s a challenging one I haven’t been able to find on this forum or other sources I’ve scoured.
I have a text column I need to extract strings from. Each cell may contain zero to fifteen of the strings I need to extract. I’ve tried using & concatenations of text functions MID() and FIND() by increasing the starting increment of the FIND(). However, if subsequent FIND() statements do not have results, it returns #VALUE as expected. Suppose I could nest in IF statements, however the text cell could be up to 5000 characters and contain up to 15 strings for extraction. So, my solution is clunky to say the least.
In my attached example, you see I’m looking for the string “8000” to fetch the 10-digit 8000 series number. An acceptable solution would only anticipate 15 strings for retrieval. Do need a line-break for further data processing, hence the use of CHAR(10).
Thanks for taking a look and any suggestions you may have.
Bookmarks