Book1 | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | text string | left ( location | right ) location | integer between ( and ) | integer between ( and ) singlecell | ||
2 | The brown rabbit (3) | 18 | 20 | 3 | 3 | ||
3 | The blue ox (10) | 13 | 16 | 10 | 10 | ||
4 | The brown veal 99 | ||||||
5 | the tan fois grois () | 20 | 21 | 0 | 0 | ||
Sheet14 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B2 | =IFERROR(SEARCH("(",A2),"") | |
C2 | =IFERROR(SEARCH(")",A2),"") | |
D2 | =IFERROR(NUMBERVALUE(MID(A2,B2+1,C2-B2-1)),"") | |
E2 | =IFERROR(NUMBERVALUE(MID(A2,SEARCH("(",A2)+1,SEARCH(")",A2)-SEARCH("(",A2)-1)),"") |
Mid([Field1],InStr([Field1],"(")+1,InStr([Field1],")")-InStr([Field1],"(")-1)+0