I'm having difficulty using the find() function when in this situation. Say, I have a big text string called "Inventory", which might look like this:
"[some text] 25 Item ABC [more text]"
I want to build a sheet that turns this text string into a proper spreadsheet which looks like this:
|Item A | 0 |
|Item AB | 0 |
|Item ABC | 25|
I'm having some success using a combination of MID() and FIND() to pull out the numbers, using this formula:
=IFERROR(NUMBERVALUE(MID([text field],FIND([Item Name],[text field])-4,3)),0)
but I'm getting this instead:
|Item A | 25|
|Item AB | 25|
|Item ABC | 25|
This is because "Item A", when searching through the text field, finds "Item A" in "Item ABC". How do I isolate it out such that I'm only returning results for "Item ABC" rather than "Item A" and "Item B" as well?