本帖最后由 象山海鲜 于 2021-3-22 11:51 编辑
公式一
- =SUM(INT(LOG(MMULT(2^COLUMN(A:ALK),1-ISERR(FIND(ROW($1:$999)&{"箱","条","包"},A2)))+1,2))*{500,10,1})
- =SUM(TEXT(0&0&RIGHTB(LEFT("鲜"&A2,FIND({"箱","条","包"},A2&"0箱条包")),{2;3;4})&"/1","0;;0;!0")*{500,10,1})
- =SUM(IFERROR((0&0&RIGHTB(LEFT("鲜"&A2,FIND({"箱","条","包"},A2&"0箱条包")),{2;3;4})&"/1")*{500,10,1},))
- =SUM(IFERROR(LEFT(SUBSTITUTE(0&0&MIDB("鲜"&A2,ROW($1:$99),9),{"箱","条","包"},"/1 "),9)*{500,10,1},))
复制代码
公式2
- =SUM(IFERROR(LEFT(SUBSTITUTE(0&0&MIDB(PHONETIC(A1:A12),ROW(1:999),9),{"箱","条","包"},"/1 "),9)*{500,10,1},))
复制代码 |