=IF(ISERROR(FIND("-"&(MID(SUBSTITUTE(ASC(A1),"円",""),MATCH(TRUE,ISNUMBER(1*MID(SUBSTITUTE(ASC(A1),"円",""),ROW(INDIRECT("1:"&LEN(SUBSTITUTE(ASC(A1),"円","")))),1)),0),3)),SUBSTITUTE(ASC(A1),"円",""))),(MID(SUBSTITUTE(ASC(A1),"円",""),MATCH(TRUE,ISNUMBER(1*MID(SUBSTITUTE(ASC(A1),"円",""),ROW(INDIRECT("1:"&LEN(SUBSTITUTE(ASC(A1),"円","")))),1)),0),3))*1,-(MID(SUBSTITUTE(ASC(A1),"円",""),MATCH(TRUE,ISNUMBER(1*MID(SUBSTITUTE(ASC(A1),"円",""),ROW(INDIRECT("1:"&LEN(SUBSTITUTE(ASC(A1),"円","")))),1)),0),3)))
【お断り】上式は必ず配列数式として入力のこと
お礼
ありがとうございます。 したい事ができるようになりました。 感謝です。