跳到主要内容

如何在Excel单元格中将dd / mm / yyyy转换为mm / dd / yyyy?

在Excel中,标准日期格式为mm / dd / yyyy,但在某些情况下,您收到或导入的文件中的日期格式为dd / mm / yyyy,如何从dd / mm / yyyy更改这些日期在Excel中将格式设置为mm / dd / yyyy,如下所示?
文档 ddmmyy mmddyy 1

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

用文本到列将dd / mm / yyyy转换为mm / dd / yyyy


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

有一个公式可以将dd / mm / yyyy快速转换为mm / dd / yyyy日期格式。

选择要转换的日期旁边的空白单元格,键入此公式 = DATE(VALUE(RIGHT(A9,4)),VALUE(MID(A9,4,2)),VALUE(LEFT(A9,2))),然后将填充手柄拖到需要使用此公式的单元格上。
文档 ddmmyy mmddyy 2

备注:A9是您用来转换的日期。


将相同的文本添加到 Excel 中每个单元格的特定位置

如何将文本或字符添加到多个单元格的开头,或者如何将文本或字符添加到单元格的末尾,或者在现有文本之间插入文本或字符? 用 添加文本 Kutools for Excel的实用程序,您可以快速应用以下操作: 。 点击即可获得 30 天的全功能免费试用!
doc添加文本6
 
Kutools for Excel:拥有超过 300 个方便的 Excel 插件,在未来 30 天内免费试用,无任何限制。

用文本到列将dd / mm / yyyy转换为mm / dd / yyyy

另外,您可以按 文本到列 功能,然后与具有新顺序的公式结合。

1.选择要转换的日期,然后单击 时间 > 文本到列。 看截图:
文档 ddmmyy mmddyy 3

2。 在 of 将文本转换为列向导,检查 分隔 选项。 看截图:
文档 ddmmyy mmddyy 4

3。 点击 下一页,并检查 其他名称,然后键入 / 进入旁边的文本框。 看截图:
文档 ddmmyy mmddyy 5

4。 点击 下一页,然后选择一个单元格以输出数据 目的地 框。 看截图:
文档 ddmmyy mmddyy 6

5。 点击 完成。 然后将日期分为几列。
文档 ddmmyy mmddyy 7

6.选择一个空白单元格,然后键入此公式 = C1&“ /”&B1&“ /”&D1,将自动填充手柄向下拖动到需要此公式的单元格。

文档 ddmmyy mmddyy 8
doc向下箭头
文档 ddmmyy mmddyy 9

备注:在公式中,C1,B1和D1是定界的单元格。


相关文章:

最佳办公生产力工具

🤖 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 (18)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
How to change from MM/DD/YYYY to DD/MM/YYYY?
Thanks
This comment was minimized by the moderator on the site
This is my most adaptable decoder for a MM/DD/YYYY date:

=DATE(RIGHT(A2,4),LEFT(A2,SEARCH("/",A2) -1),MID(A2,SEARCH("/",A2)+1,LEN(A2)-(5+SEARCH("/",A2))))
This comment was minimized by the moderator on the site
Use following Formula
=IFERROR(IF(DAY(B2)>12,DAY(B2)&”/”&MONTH(B2)&”/”&YEAR(B2),VALUE(DATE(YEAR(B2),DAY(B2),MONTH(B2)))),DATE(VALUE(RIGHT(B2,4)), VALUE(MID(B2,4,2)), VALUE(LEFT(B2,2))))
This comment was minimized by the moderator on the site
How to I convert or change a date format?
MM/DD to DD/MM/YYYY
Example: Dec/1 to 01/12/2021
This comment was minimized by the moderator on the site
Hello, Karthik, convert MM/DD to DD/MM/YYYY, only select the dates cells, then press Ctrl + 1 to enable the Format Cells dialog, then under Number tab, then choose Custom in the Category list, and go to right section, type dd/mm/yyyy into the Type textbox, click OK. Now the dates are converted to the date format as you need. 
This comment was minimized by the moderator on the site
How about if the date comes with time? Like this 1/5/2021 8:26:00 AM, how to make it to 5/1/2021 8:26:00 AM, please help, thank you. The date is supposed to be May 1 not January 5, thanks!
This comment was minimized by the moderator on the site
Hi, Joy. Just use Text to Columns to split them by / , for example, 1/5/2021 8:26:00 AM will be split into 1 5 and 2021 8:26:00 AM, then use the formula to combine them.
This comment was minimized by the moderator on the site
How to I convert or change a date format?
YYYY/MM to MM/DD/YYYY
Example: 1955/12 to 12/01/1955
This comment was minimized by the moderator on the site
Hi, Turrell Taylor, try to change the cell format to mm/dd/yyyy by clicking Home tab, and go to the Number group to select Date from the Number format drop-down menu.
This comment was minimized by the moderator on the site
how to change date format in excel from dd-mm-yyyy to dd/mm/yyyy
This comment was minimized by the moderator on the site
Thank you so much its too Easy and much helpful God bless you
This comment was minimized by the moderator on the site
Thanks, it's amazing. Helped me lot.
This comment was minimized by the moderator on the site
name faizahmad last name timori 1987
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