跳到主要内容

如何在Excel中将dD.MM.YYYY转换为日期格式(mM / DD / YYYY)?

每个人的打字习惯都不同。 例如,有些人喜欢使用点,例如dd.mm.yyyy输入日期。 但是,众所周知,该dd.mm.yyyy中的日期格式无法在Excel中识别为日期。 您有什么方法可以在Excel中快速将日期格式dd.mm.yyyy转换为标准日期格式mm / dd / yyyy?

使用公式将dd.mm.yyyy转换为dd / mm / yyyy

使用公式将dd.mm.yyyy转换为mm / dd / yyyy

使用 Kutools for Excel 将 mm.dd.yyyy 转换为 mm/dd/yyyy好主意3

使用 Kutools for Excel 将 dd.mm.yyyy 转换为 dd/mm/yyyy 好主意3


在某些情况下,您可以将dd.mm.yyyy直接转换为dd / mm / yyyy格式,下面的公式可能会对您有所帮助。

选择要转换的日期旁边的空白单元格,输入此公式 = SUBSTITUTE(A6,“。”,“ /”) 并将自动填充手柄拖到要应用此公式的单元格上。 看截图:
doc转换日期格式1

Tips::在上面的公式中,A6是您想要转换的日期,您可以根据需要进行更改。


快速将非标准日期转换为标准日期格式(mm / dd / yyyy)

在某些情况下,您可能会收到带有多个非标准日期的工作清单,并将它们全部转换为标准日期格式,如mm / dd / yyyy可能会给您带来麻烦。 这里 Kutools for Excel's 转换至今 一键即可将这些非标准日期快速转换为标准日期格式。  点击即可获得 30 天的免费全功能试用!
doc转换日期
 
Kutools for Excel:拥有300多个便捷的Excel加载项,可以在30天内免费试用。

如果要将日期格式dd.mm.yyyy转换为标准日期格式mm / dd / yyyy,则可以应用以下公式。

1.在您使用的日期(例如B6)旁边选择一个空白单元格,输入此公式 =(MID(A6,4,2)&“ /”&LEFT(A6,2)&“ /”&RIGHT(A6,2))+ 0,将填充手柄拖到要使用此公式的单元格上。 看截图:
doc转换日期格式2

2.现在,您可以看到一个由五位数组成的数字列表,保持选中状态,然后转到 主页 > 号码清单,然后选择 短期约会 将其格式化为日期。 看截图:
doc转换日期格式3

然后,您可以看到非标准日期已转换为标准日期。
doc转换日期格式4


如果要将日期格式转换为 年月日mm/dd/yyy,您可以申请 Kutools for Excel's 转换为日期 实用程序,可以将多个日期快速转换为标准日期格式。

Kutools for Excel, 与超过 300 方便的功能,使您的工作更加轻松。 

免费安装 Kutools for Excel,请执行以下操作:

1.选择单元格,然后单击 库工具 > 内容 > 转换为日期。 看截图:
doc转换日期格式9

然后,您可以看到所有选定的单元格都已转换为标准日期格式。
提示:如果日期不是正确的日期,则实用程序将保留原始数据。
doc kutools转换为日期2


实际上,如果您有 Kutools for Excel,您可以使用它 分裂细胞 合并行,列或单元格而不会丢失数据 将dd.mm.yyyy转换为dd / mm / yyyy的实用程序。

免费安装 Kutools for Excel,请执行以下操作:

1.选择要转换的日期,然后单击 库工具 > 文本 > 分裂细胞,然后在 分裂细胞 对话框,检查 拆分为列,并检查 其他名称 选项并输入 . 进入旁边的框。 看截图:
doc kutools分割储存格1

2。 点击 Ok,然后会弹出一个对话框,提醒您选择要放置拆分数据的单元格,然后单击 OK,日期已拆分为列。 看截图:
doc kutools分割储存格2

3.选择拆分数据,然后单击 库工具 > 合并行,列或单元格而不会丢失数据。 然后在弹出的对话框中 合并栏 选项,并检查 其他分隔符 并进入 / 进入旁边的文本框 指定分隔符 部分,然后在中指定合并选项 附加选项 部分。 看截图:
doc kutools分割储存格3

4。 点击 Ok or 使用,日期转换已处理。
doc kutools分割储存格4


在Excel中快速轻松地将日期转换为其他日期格式

套用日期格式 of Kutools for Excel 可以将标准日期快速转换为所需的日期格式,例如仅以yyyy-mm-dd,yyyy.mm.dd等显示月,日或年的日期格式。 点击获取 30 天内全功能免费试用!
doc申请日期格式
 
Kutools for Excel:拥有300多个便捷的Excel加载项,可以在30天内免费试用。

最佳办公生产力工具

🤖 Kutools 人工智能助手:基于以下内容彻底改变数据分析: 智能执行   |  生成代码  |  创建自定义公式  |  分析数据并生成图表  |  调用 Kutools 函数...
热门特色: 查找、突出显示或识别重复项   |  删除空白行   |  合并列或单元格而不丢失数据   |   不使用公式进行四舍五入 ...
超级查询: 多条件VLookup    多值VLookup  |   跨多个工作表的 VLookup   |   模糊查询 ....
高级下拉列表: 快速创建下拉列表   |  依赖下拉列表   |  多选下拉列表 ....
列管理器: 添加特定数量的列  |  移动列  |  切换隐藏列的可见性状态  |  比较范围和列 ...
特色功能: 网格焦点   |  设计图   |   大方程式酒吧    工作簿和工作表管理器   |  资源库 (自动文本)   |  日期选择器   |  合并工作表   |  加密/解密单元格    按列表发送电子邮件   |  超级筛选   |   特殊过滤器 (过滤粗体/斜体/删除线...)...
前 15 个工具集12 文本 工具 (添加文本, 删除字符,...)   |   50+ 图表 类型 (甘特图,...)   |   40+ 实用 公式 (根据生日计算年龄,...)   |   19 插入 工具 (插入二维码, 从路径插入图片,...)   |   12 转化 工具 (小写金额转大写, 货币兑换,...)   |   7 合并与拆分 工具 (高级组合行, 分裂细胞,...)   |   ... 和更多

使用 Kutools for Excel 增强您的 Excel 技能,体验前所未有的效率。 Kutools for Excel 提供了 300 多种高级功能来提高生产力并节省时间。  单击此处获取您最需要的功能...

产品描述


Office Tab 为 Office 带来选项卡式界面,让您的工作更加轻松

  • 在Word,Excel,PowerPoint中启用选项卡式编辑和阅读,发布者,Access,Visio和Project。
  • 在同一窗口的新选项卡中而不是在新窗口中打开并创建多个文档。
  • 每天将您的工作效率提高50%,并减少数百次鼠标单击!
Comments (26)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
The cell originally state 22/09/01 which represents 2022/09/01 (actually it should be 1 Sep 2022), when I try to convert it into date format, excel reads it as 22 Sep 2001. How can I convert this?
Thank you very much.
This comment was minimized by the moderator on the site
Hi,

How do i convert to date format in excel from dd/mm/yyyy(03/02/2021) to dd.mm.yyyy (03/February/2021)
This comment was minimized by the moderator on the site
thank you!
This comment was minimized by the moderator on the site
To convert DD/MM/YYYY to financial year YYYY-YY
This comment was minimized by the moderator on the site
To convert DD/MM/YYYY to MM/DD/YYYY

Step 1- Select the cell which you want to convert Go to Data -> Text to Columns

Step 2- Select Delimited , Click Next

Step 3- Click Next (make sure that none of the above is selected)

Step 4- Select DMY in Date and then click finish.


Hope this may be helpful.
This comment was minimized by the moderator on the site
Didn't work for me, but I used your idea to split to column, then on my last cell I used =Date(B2,A2,C2) worked like a charm
This comment was minimized by the moderator on the site
HOW DO I CONVERT 01/05/2016 TO 01-05/2016
This comment was minimized by the moderator on the site
When your default date format is mm/dd/yyyy and you have a set of data with date format dd/mm/yyyy, the date will surely be shown as TEXT format in excel. This is because the format only recognizes dates if the first 2 digits is 12 and below (12 months).

For example: the date "20/12/2017" will show as TEXT because the first 2 digits which represents the days is recognized by the system as month (which is beyond 12). In order to switch this to "12/20/2017" using a formula, you may try this one (considering that the date is in cell A1):

=IF(ISTEXT(A1),DATEVALUE(MID(A1,FIND("/",A1,1)+1,FIND("/2",A1,1)-(FIND("/",A1,1)+1))&"/"&LEFT(A1,FIND("/",A1,1)-1)&"/"&MID(A1,FIND("/2",A1,1)+1,4)),DATEVALUE(DAY(A1)&"/"&MONTH(A1)&"/"&YEAR(A1)))

Take note that the IF statement and ISTEXT condition are very important in this formula because there are dates that can still be considered as date even if the format is dd/mm/yyyy. A good example is "12/1/2017", which can be considered as

mm/dd/yyyy = December 1, 2017

dd/mm/yyyy = January 12, 2017

Hope this helps.
This comment was minimized by the moderator on the site
When your default date format is mm/dd/yyyy and you have a set of data with date format dd/mm/yyyy, the date will surely be shown as TEXT format in excel. This is because the format only recognizes dates if the first 2 digits is 12 and below (12 months).

For example: the date "20/12/2017" will show as TEXT because the first 2 digits which represents the days is recognized by the system as month (which is beyond 12). In order to switch this to "12/20/2017" using a formula, you may try this one (considering that the date is in cell A1):

=IF(ISTEXT(A1),DATEVALUE(MID(A1,FIND("/",A1,1)+1,FIND("/2",A1,1)-(FIND("/",A1,1)+1))&"/"&LEFT(A1,FIND("/",A1,1)-1)&"/"&MID(A1,FIND("/2",A1,1)+1,4)),DATEVALUE(DAY(A1)&"/"&MONTH(A1)&"/"&YEAR(A1)))

Take note that the IF statement and ISTEXT condition are very important in this formula because there are dates that can still be considered as date even if the format is dd/mm/yyyy. A good example is "12/1/2017", which can be considered as

mm/dd/yyyy = December 1, 2017

dd/mm/yyyy = January 12, 2017

Hope this helps.
This comment was minimized by the moderator on the site
Carlos, this is simply great, and you tackled a very valid scenario, of both formats of Date values
This comment was minimized by the moderator on the site
how do you change from 04.01.16 to 04.01.2016 and or just showing the Year 2016? thanks
This comment was minimized by the moderator on the site
I want to convert like that 15/07/2017 to 07/15/2017 how please help
This comment was minimized by the moderator on the site
Thanks for ur question. To convert dd/mm/yyyy to mm/dd/yyyy, you can apply Text to Column to split the date into three columns, then apply the formula =C1&"/"&B1&"/"&D1 to combine them again. See screenshot:
This comment was minimized by the moderator on the site
thanks its working
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations