Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/excel/27.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Excel日期公式_Excel_Excel 2007_Excel Formula - Fatal编程技术网

Excel日期公式

Excel日期公式,excel,excel-2007,excel-formula,Excel,Excel 2007,Excel Formula,我在Excel中有3个单元格,如下所示: 细胞 A1=2012 A2=12 A3=15 其中分别包含年、月和日期值。我想把它做成一个日期字符串 我知道使用Date函数很容易实现。 但如果A1、A2或A3中的任何一个为空,我也希望单元格保持空白。类似于 =如果counta1:A3=3,DATEA1,A2,A3,I未来请注意基本公式问题更适合超级User@brettdj你说得对。但我问了同样的问题&还没有回答。

我在Excel中有3个单元格,如下所示:

细胞

A1=2012 A2=12 A3=15

其中分别包含年、月和日期值。我想把它做成一个日期字符串

我知道使用Date函数很容易实现。 但如果A1、A2或A3中的任何一个为空,我也希望单元格保持空白。

类似于


=如果counta1:A3=3,DATEA1,A2,A3,

I未来请注意基本公式问题更适合超级User@brettdj你说得对。但我问了同样的问题&还没有回答。