I originally wanted to use Python and use regular expressions to process data, but considering that business personnel do not know how to use Python,
- The first method is to prepare to use the formula in excel for processing
When using it, I found that the business personnel used wps, and some formulas in the original Microsoft were not in wps
- Therefore, the following method 2 is used in a detour: nesting of multiple formulas
The specific formula is as follows:
=LOOKUP(9^9,--LEFT(SUBSTITUTE(A2,LEFTB(A2,SEARCHB("?",A2)-1),""),ROW($2:$6)))