跳到主要內容

如何在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。 在 步驟 1 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選項卡為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