提示:其它语言是由 Google 机器翻译的。 你可以访问 English 版本。
登录
x
or
x
x
马上登记
x

or

如何在Excel中将各种非标准日期格式转换为标准日期?

当您使用Excel工作簿时,可能遇到各种非标准日期格式。 Excel不会识别它们,您不能将它们用于任何计算目的或根据需要更改它们的格式。 你怎么能改变这些奇怪的日期格式为Excel标准日期?

将存储为文本的日期转换为具有公式的正常Excel日期

使用“文本到列”功能将数字转换为正常的Excel日期

使用Kutools for Excel轻松将各种非标准日期转换为正常Excel日期


在Excel中轻松地将各种非标准日期转换为正常日期:

在此 转换为日期 实用程序 Kutools for Excel 可以帮助您在Exel中同时快速将各种非标准日期转换为正常日期。 立即下载Kutools for Excel的全功能60天免费试用版!

  • 选择包含您将转换为正常的各种非标准日期的单元格;
  • 单击应用该实用程序 Kutools > 内容 > 转换为日期.

Kutools for Excel:比200方便的Excel加载项,可以在60天免费试用。 下载并免费试用现在!

Office选项卡在Office中启用选项卡式编辑和浏览,使您的工作更轻松......
Kutools for Excel - 最佳办公生产力工具将解决您的大部分Excel问题
  • 重用任何东西: 将最常用或最复杂的公式,图表和其他任何内容添加到您的收藏夹中,并在将来快速重复使用它们。
  • 超过20文本功能: 从文本字符串中提取数字; 提取或删除部分文本; 将数字和货币转换为英语单词...
  • 合并工具:多个工作簿和表格合二为一; 合并多个单元格/行/列而不丢失数据; 合并重复行和总和...
  • 拆分工具:根据价值将数据拆分为多个表格; 一个工作簿到多个Excel,PDF或CSV文件; 一列到多列......
  • 粘贴跳过 隐藏/过滤行; 数和总和 按背景颜色; 创建邮件列表和 通过Cell的价值发送电子邮件...
  • 超级过滤器: 创建高级过滤方案并应用于任何工作表; 排序 按周,日,频率等; 筛选 通过大胆,公式,评论......
  • 超过300强大的功能; 适用于Office 2007-2019和365; 支持所有语言; 在公司轻松部署; 全功能60天免费试用。

将存储为文本的日期转换为具有公式的正常Excel日期

这里我将讨论使用DateValue函数将文本日期更改为适当的Excel日期。 当你输入 “2013 / 03 / 21 放入单元格中,日期之前的撇号用于向Excel指示单元格中的值为文本值(请参见下面的截图)。 您可以按照以下步骤将此文本日期转换为Excel日期:

DOC-转换到正常date1

1。 在相邻的单元格B1中输入公式 = Datevalue(A1),看截图:

DOC-转换到正常date2

2。 然后按 输入 键,公式返回一个数字41317。 这是正确答案,但格式错误。 所以你需要改变日期格式。

3。 选择单元格B1并右键单击,选择 单元格格式 从上下文菜单。 在里面 单元格格式 对话框,单击 > 日期,并根据需要选择当地日期。 看截图:

DOC-转换到正常date3

4。 然后点击 OK,该号码已被转换为正常的Excel日期。 然后选择单元格B1并将填充手柄拖到要包含此公式的范围。 看截图:

DOC-转换到正常date4

小技巧:也许你也有这种日期格式 三月2013 12中, DATEVALUE 函数也可以将其更改为Excel日期。 这样做:

1。 输入公式 = DATEVALUE(RIGHT(A1,2) “ - ” &MID(A1,6,3) “ - ” &LEFT(A1,4)) 进入空白单元格B1。 看截图:

DOC-转换到正常date5

2。 然后点击 输入 键,选择单元格B1,然后将填充句柄拖到您需要的范围。 看截图:

DOC-转换到正常date6

这些只是两个简单的例子,如果您有其他文本日期格式,则需要其他公式来处理。


使用“文本到列”功能将数字转换为正常的Excel日期

有时候你可能有数字如 20130321 在单元格中,但现在您要将其转换为正常的Excel日期 3/21/2013中, 文本到列 工具可以将数字转换为可识别的Excel日期。

1。 选择您想要更改的单元格。

2。 点击 数据 > 文本到列将文本转换为列向导,检查 分隔和点击 下一步.

DOC-转换到正常date7

3。 在step2中,直接点击 下一步 继续。

DOC-转换到正常date8

4。 在步骤3中,选择 日期 来自 列数据格式,并选择 年月日 来自 日期 下拉列表。 看截图:

DOC-转换到正常date9

5。 然后点击,并且所选单元格中的数字已更改为正常的Excel日期。 查看屏幕截图:

DOC-转换到正常date10 -2 DOC-转换到正常date11

使用Kutools for Excel将各种非标准日期转换为正常Excel日期

不同的非标准日期需要不同的解决方案,因此我们需要一种方便且多功能的方法,可以帮助我们同时将各种奇怪的日期更改为正常的Excel日期。 随着 转换为日期 of Kutools for Excel,您可以快速将某些非标准的日期格式转换为不能通过Excel识别的日期格式。

Kutools for Excel : 与超过300方便的Excel加载项,在60天免费试用没有限制.

1。 选择您想要转换的非标准日期范围,点击 Kutools > 内容 > 转换为日期,看截图:

2。 那么 转换为日期 弹出对话框,可以看到所选范围内的所有非标准日期同时转换为正常日期格式。 看截图:

提示。如果您想免费试用此实用程序,请转到 免费下载软件 首先,按照上述步骤进行操作。


Office Tab - 在Excel中选项卡式浏览,编辑和管理工作簿:

Office选项卡将Web浏览器(如Google Chrome,Internet Explorer新版本和Firefox)中显示的选项卡界面带到Microsoft Excel。 它将是一个节省时间的工具,在您的工作中无可比拟。 见下面的演示:

点击免费试用Office Tab!

Excel的Office选项卡


演示:将各种非标准日期格式转换为标准日期


Kutools for Excel - 最佳办公生产力工具提高80%的生产力

  • 重用: 快速插入 复杂的公式,图表 以及你以前用过的任何东西; 加密单元格 密码; 创建邮件列表 并发送电子邮件...
  • 超级方程式酒吧 (轻松编辑多行文字和公式); 阅读布局 (轻松读取和编辑大量单元格); 粘贴到过滤范围...
  • 合并单元格/行/列 不丢失数据; 分裂细胞含量; 组合重复的行/列...防止重复的细胞; 比较范围...
  • 选择复制或唯一 行; 选择空行 (所有细胞都是空的); 超级查找和模糊查找 在许多工作簿中; 随机选择......
  • 精确复制 多个单元格而不更改公式参考; 自动创建参考 多张表; 插入项目符号,复选框等等......
  • 提取文本,添加文本,按位置删除, 删除空间; 创建和打印分页小计; 在单元格内容和注释之间转换...
  • 超级过滤器 (将过滤方案保存并应用到其他工作表); 高级排序 按月/周/日,频率等; 特殊过滤器 用粗体,斜体......
  • 结合工作簿和工作表; 根据键列合并表; 将数据拆分为多个表格; 批量转换xls,xlsx和PDF...
  • 超过300强大的功能。 支持Office / Excel 2007-2019和365。 支持所有语言。 在您的企业或组织中轻松部署。 全功能60天免费试用。
kte tab 201905

Office选项卡为Office提供选项卡式界面,使您的工作更轻松

  • 在Word,Excel,PowerPoint中启用选项卡式编辑和阅读,Publisher,Access,Visio和Project。
  • 在同一窗口的新选项卡中打开并创建多个文档,而不是在新窗口中。
  • 通过50%提高您的工作效率,每天为您减少数百次鼠标点击!
官方底部
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Aslam · 1 years ago
    I wanted to convert 1529557740 to this format Fri 22 Jun 2018 00:09:00. It didn't work. Can someone suggest
    • To post as a guest, your comment is unpublished.
      Aslam · 1 years ago
      Found the answer: A2 / 86400 + 25569 - 5 / 24 (where A2 is column name and -5 UTC time offset for CST)
  • To post as a guest, your comment is unpublished.
    chris · 1 years ago
    how do o convert from yyyyy-mm-ddd hh mm ss to yyyy-mm-dd?
  • To post as a guest, your comment is unpublished.
    Ganesh · 1 years ago
    how convert 2/1/2018 5:54:58 PM to Feb 01, 2018 3:08 PM
  • To post as a guest, your comment is unpublished.
    RD · 1 years ago
    how to convert 12/14 to December 2014
  • To post as a guest, your comment is unpublished.
    rats · 2 years ago
    Hi Team,

    how to convert date format from dd/mm/yyyy hh:mm:ss to dd-mm-yyyy hh:mm:ss by using any formula or simple step also.

    when am trying to do the format cells to change the date format, cells are remain same.pls do the needful.
    • To post as a guest, your comment is unpublished.
      Aston Calvin · 1 years ago
      Check out the example and formula of how to convert the exact data format which you want in the attached screen shot.
  • To post as a guest, your comment is unpublished.
    Ramya Ramesh · 2 years ago
    How to convert date format, '20.06.2016' to '20-06-2016' for applying the text formula?
    • To post as a guest, your comment is unpublished.
      PaulieUK · 1 years ago
      Assuming the date is in cell A2, enter the following into cell B2 =SUBSTITUTE(A2,".","/")
    • To post as a guest, your comment is unpublished.
      ewai · 2 years ago
      =Text(dd-mm-yyyy)
  • To post as a guest, your comment is unpublished.
    Manolo · 2 years ago
    I have an excel file that has a countdown function between time NOW and a future date/time. Works fine as long as I open the file every time on a laptop but when opened with a cell phone (IOS), the countdown calculates always to today's date as opposed to an assigned future date. Any thoughts?
  • To post as a guest, your comment is unpublished.
    Krishna · 2 years ago
    i'm having a date column which having different date time format, i need to change this to "dd-mmm-yyyy hh:mm:ss" format, i tired many ways , no luck :( , could you please help me ?

    i'm adding some sample date below.

    Open Time

    05/11/2017 19:12:19
    05/11/2017 20:05:21
    05/11/2017 22:16:35
    05/12/2017 01:37:51
    05/12/2017 01:40:59
    05/12/2017 04:09:50
    05/12/2017 11:18:49
    05/12/2017 13:18:34
    05/12/2017 16:20:37
    05/12/2017 17:38:02
    05/13/17 01:36:11
    05/13/17 09:38:43
    05/13/17 17:37:38
    05/14/17 01:06:24
    05/14/17 01:38:42
    05/14/17 18:48:40
    05/14/17 20:09:14
    05/14/17 20:40:39
    05/15/17 22:37:38

    thanks
    -Krishna
  • To post as a guest, your comment is unpublished.
    Valley · 2 years ago
    my cell phone creates a datestring I cant figure out how to convert....example (1486878061975) any help is much appreciated
  • To post as a guest, your comment is unpublished.
    Majbritt · 2 years ago
    I have imported large amounts of data with a date format of YY/MM/DD, which I can not convert to DD/MM/YY.
    Excel continues to read it of as YY/MM/20DD
  • To post as a guest, your comment is unpublished.
    Alice · 2 years ago
    The most useful thing ever!!! Thank you!
  • To post as a guest, your comment is unpublished.
    mahmoud elmaghraby · 2 years ago
    I have an excel file with a date column stored as 21/02/16. The number format is general. How can I convert it to a date format.
  • To post as a guest, your comment is unpublished.
    Najam · 3 years ago
    How do i convert text date format "Jun-28-2016" to "2016-06-28"? I have tried this: =DATEVALUE(RIGHT(B3,4)&"-"&MID(B3,5,2)&"-"&LEFT(B3,2))
    • To post as a guest, your comment is unpublished.
      funnybite · 2 years ago
      =RIGHT(A5,4)&"-"&MONTH(DATEVALUE(LEFT(A5,3)&" 1"))&"-"&TEXT(MID(A5,5,2),"dd") - assuming in cell A5 we have "Jun-28-2016"
  • To post as a guest, your comment is unpublished.
    Jose · 4 years ago
    Hi all. I am looking for some help.
    In A2 I am copying a “date” from a external spreadsheet. A2=[transactions.csv]transactions.csv!
    A2. The format is as 2/06/2015 and Excel does not recognize as a date format to use with filters, even if I setup the cell as a date format. I am wondering if I could have a formula to automatically make this work as soon as I open this spreadsheet and convert to a date format DD-MM-YYYY.
    Sorry guys, but I am pretty new on Excel.
    Thanks in advance.
  • To post as a guest, your comment is unpublished.
    Jose · 4 years ago
    Hi there

    I got a .cvs file where a column is full of dates on the format 2/04/2015.

    Selecting this full column and using the Text to Columns function it fix some cells to dates like 02-04-2015, but another others cells does not change anything.

    I am using Excel 2011 for Mac.

    Would you know why some cells remais unchanged and what can I do to leave all the cells like 02-04-2015?

    Thanks.
  • To post as a guest, your comment is unpublished.
    Allan Gloria · 4 years ago
    Please help me to cenvert this format of letter B to Letter A.
    the data type under B is incorrect; to match under A.
    Date (=weeknum)(=month)(=year)
    A. 1/4/2012 9:40 1 1 2012
    B. 1/4/20129:40:00AM #VALUE! #VALUE! #VALUE!
  • To post as a guest, your comment is unpublished.
    Ashley · 5 years ago
    Wow. Thank you. Solved a problem I have been having for quite some time on a report and usually requires me to spend too much tedious time fixing.
  • To post as a guest, your comment is unpublished.
    Nakul Tyagi · 5 years ago
    For the fist time something was usefull! Thanks
  • To post as a guest, your comment is unpublished.
    Sanjay · 5 years ago
    I have to convert date to text. for example 11.02.1998 as Eleven February Nineteen Ninety Eight. so advice me if it is possible in excel.
  • To post as a guest, your comment is unpublished.
    Jarek · 5 years ago
    How to write by using non standard format f.e. 54 IM line as XX.123.54.2014.IM where "XX. 123." and ".2014." are constant while "54" and "IM" are variable? I tried wrote "XX. 123."@".2014."@ and "XX. 123."#".2014."@ but I didn't achieve any effect.