ArrayFormula显示日期不正确.我怎样才能解决这个问题? [英] ArrayFormula displays dates improperly. How can I fix this?

查看:64
本文介绍了ArrayFormula显示日期不正确.我怎样才能解决这个问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Form Responses 1看起来像这样:6/1/2020 13:59:11在我的第二张纸上,它变成这样:43983.582763588

Form Responses 1 looks like this: 6/1/2020 13:59:11 On my second sheet, it turns it into this: 43983.582763588

这是我正在使用的公式:

This is the formula I'm using:

=ArrayFormula(('Form Responses 1'!A2:A&" "))

这是怎么回事?!:|请帮忙.我尝试在响应表1上转换为纯文本,并暂时修复了该问题.但是,新条目仍然变成奇怪的格式.

What's going on here?! :| Please help. I've tried converting to plain text on Response Sheet 1 and it fixed it temporarily. However, new entries still turn into the weird format.

推荐答案

答案:

天数作为自1900年1月1日以来的天数存储在Google表格中.您只需更改表格的显示格式并删除&"" .

将公式更改为以下内容:

Change your formula to the following:

=ArrayFormula(TO_DATE('Form Responses 1'!A2:A))

然后,突出显示此Arrayformula将为其输入数据的列,并遵循 Format>编号>更多格式>更多日期和时间格式,并填写打开的模式,如下所示:

Then, highlight the column for which this Arrayformula will enter data, follow the Format > Number > More formats > More date and time formats and fill out the opened modal to look like this:

使用右侧的( v )下拉箭头选择所需的每个月/日/年小时:分钟:第二元素.

Using the dropdown arrow on the right (v) to select each of the Month/Day/Year Hour:Minute:Second elements you like.

之后,您的日期应如下所示:

Afterwards your dates should look like this:

希望对您有帮助!

这篇关于ArrayFormula显示日期不正确.我怎样才能解决这个问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆