将dat放在句子中的公式

时间:2019-01-28 02:34:19

标签: excel excel-formula excel-2013

假设我有以下单元格:

A1 - first_Name (e.g Mary) B1 - last_name (e.g Thomas) C1 - car (e.g 3) D1 - houses (e.g 1) E1 - children (e.g blank)

我想创建一个可以自动填充到以下句子中的公式:

Mary Thomas has car=‘3’, House=‘1’, 

1 个答案:

答案 0 :(得分:1)

下面所有3个方程式都建立了与照片中完全相同的输出

Option 1 =CONCATENATE(A2," ",B2," has car= ",C2,", House= ",D2,", Children= ",E2)

Option 2 =TEXTJOIN(CHAR(32),1,A2:B2,"Has Car=",C2,",House=",D2,",Children=",E2)

Option 3 =A2&" "&B2&" Has Car= "&C2&", House= "&D2&" ,Children= "&E2

enter image description here