Here are some examples of data I need to parse. It's percentage splits among salespeople that I need to find. See the attached workbook for more in-depth examples. If the 'desired result' columns error out on your computer, see the 'desired result text' columns.
April Totowa/Adam Zeller 50/50
75/25 Robin Heller/ Matthew Krason
Mike Viera/ Mike Stein 50/50 eff: 08/01/09 E&M
Abe Smith/John Franks/Lisa Lowe 60/20/20
It works fine if I just enter the formulas on a worksheet. I'm just having trouble using the RegExpFind function in a macro.
I have the logic worked out to first look for a three-way split, and if that fails, to look for a two-way split, and I can work out how to match the patterns with regex. I don't need help with that.
I need help figuring out in VBA how to return actual matching text if there is any, and how to handle it if there isn't any.
Here is the half-written macro where I'm trying to use this. If you copy this and the RegExpFind into a module and run it on the attached file "real sheet for upload" you'll be able to step through and follow along in the locals window. Hope this helps.
Bookmarks