如何添加一个输入来从excel中生成每一行?

时间:2018-03-21 18:44:27

标签: excel-formula

我在这里有代码,它不允许我从单元格中添加输入空间。

="YEAR-TO-DATE SALES REPORT "
&"Should be at "&TEXT(NETWORKDAYS("12/31/2017",TODAY()-1)/370*(100),"0.00") &"% to goal if months are weighted evenly "
&"as of end of day "  &TEXT(TODAY()-1,"ddddddddd mm.dd.yyyy")

我想成为三条不同的路线。

YEAR-TO-DATE SALES REPORT    
Should be at xx.xx% to goal if months are weighted evenly    
As of end of day Tuesday 03.20.2018

提前谢谢!

1 个答案:

答案 0 :(得分:2)

使用CHAR(10):

="YEAR-TO-DATE SALES REPORT "
&CHAR(10)&"Should be at "&TEXT(NETWORKDAYS("12/31/2017",TODAY()-1)/370*(100),"0.00") &"% to goal if months are weighted evenly "
&CHAR(10)&"as of end of day "  &TEXT(TODAY()-1,"ddddddddd mm.dd.yyyy")

确保您选择了自动换行:

enter image description here