【问题标题】:Different response to same Excel formula in two different systems两个不同系统对同一个 Excel 公式的不同反应
【发布时间】:2017-05-29 05:15:56
【问题描述】:

我的目标是从 excel 中的单元格中读取文本,获取单元格中的日期并显示相应的星期几。 我通过下面的公式成功地做到了

=TEXT((MID(A7,SEARCH("??/??/????",A7),10)),"dddd")

Formula when the excel is fetching the date and providing the day

我的一个朋友在他的笔记本电脑的 excel 中应用了相同的公式,但无法获得星期几。 他能够获取日期,但不能获取星期几

Case when the same formula was not displaying the day of the week

【问题讨论】:

  • 除了@pnuts:23/04/1990 在 EN_GB 语言环境(英国)中只是一个有意义的日期。在 EN_US 语言环境中没有意义:1990 年第 23 个月第 4 天。

标签: excel date search text


【解决方案1】:

您想更改日期和时间格式。

为此,请转到控制面板 > 时钟、语言和地区 > 地区 > 更改日期、时间或数字格式。

在格式下拉菜单中,选择英语(英国)。按 OK,这应该会在 Excel 中显示所需的输出。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-04-28
    • 2018-08-18
    • 1970-01-01
    • 1970-01-01
    • 2021-01-19
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多