F1 =IF(COUNTA(A1:E1)=5,A1&"、"&B1&"、"&C1&"、"&D1&"、"&E1,IF(COUNTA(A1:E1)=4,A1&"、"&B1&"、"&C1&"、"&D1,IF(COUNTA(A1:E1)=3,A1&"、"&B1&"、"&C1,IF(COUNTA(A1:E1)=2,A1&"、"&B1,A1)))