=LOOKUP(1,0/(LEFT(A2,1)=TEXT(ROW($1:$1000)-1,"[DBNUM1]")),ROW($1:$1000)-1)&LOOKUP(1,0/(MID(A2,FIND("〇",A2),1)=TEXT(ROW($1:$1000)-1,"[DBNUM1]")),ROW($1:$1000)-1)&LOOKUP(1,0/(MID(A2,FIND("〇",A2)+1,1)=TEXT(ROW($1:$1000)-1,"[DBNUM1]")),ROW($1:$1000)-1)&LOOKUP(1,0/(MID(A2,FIND("年",A2)-1,1)=TEXT(ROW($1:$1000)-1,"[DBNUM1]")),ROW($1:$1000)-1)&"/"&IFNA(LOOKUP(1,0/(MID(A2,FIND("年",A2)+1,FIND("月",A2)-FIND("年",A2)-1)=TEXT(ROW($1:$1000)-1,"[DBNUM1]")),ROW($1:$1000)-1),LOOKUP(1,0/("一"&MID(A2,FIND("年",A2)+1,FIND("月",A2)-FIND("年",A2)-1)=TEXT(ROW($1:$1000)-1,"[DBNUM1]")),ROW($1:$1000)-1))&"/"&IFNA(LOOKUP(1,0/(MID(A2,FIND("月",A2)+1,FIND("日",A2)-FIND("月",A2)-1)=TEXT(ROW($1:$1000)-1,"[DBNUM1]")),ROW($1:$1000)-1),LOOKUP(1,0/("一"&MID(A2,FIND("月",A2)+1,FIND("日",A2)-FIND("月",A2)-1)=TEXT(ROW($1:$1000)-1,"[DBNUM1]")),ROW($1:$1000)-1))
|