跳到主要內容

如何在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

尖端:在上面的公式中,A6是您想要轉換的日期,您可以根據需要進行更改。


快速將非標準日期轉換為標準日期格式(mm / dd / yyyy)

在某些情況下,您可能會收到帶有多個非標準日期的工作清單,並將它們全部轉換為標準日期格式,如mm / dd / yyyy可能對您造成麻煩。 這裡 Excel的Kutools'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.YYYYmm/dd/yyy,您可以申請 Excel的Kutools's 轉換為日期 實用程序,可以將多個日期快速轉換為標準日期格式。

Excel的Kutools, 與以上 300 方便的功能,使您的工作更加輕鬆。 

免費安裝 Kutools for Excel,請執行以下操作:

1.選擇單元格,然後單擊 庫工具 > 內容 > 轉換為日期。 看截圖:
doc轉換日期格式9

然後,您可以看到所有選定的單元格都已轉換為標準日期格式。
提示:如果日期不是正確的日期,則實用程序將保留原始數據。
doc kutools轉換為日期2


實際上,如果您有 Excel的Kutools,您可以使用它 分裂細胞 合併行,列或單元格而不會丟失數據 將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 Excel的Kutools 可以將標準日期快速轉換為所需的日期格式,例如僅顯示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選項卡為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