跳到主要內容

如何在Excel中在歐洲和美國之間快速轉換日期格式?

如果您在一家國際公司工作,則每天都會收到來自不同縣的工作表,這些工作表可能會以不同的日期格式記錄日期。 例如,歐洲縣以日期格式記錄日期 日/月/年,而美國以日期格式記錄日期 mm/dd/yyy。 在這種情況下,如何在Excel中快速在歐洲國家和美國之間轉換日期格式?

使用公式將文本日期從歐洲轉換為美國

使用格式單元格在歐洲和美國之間轉換日期格式


箭頭藍色右氣泡 使用公式將文本日期從歐洲轉換為美國

如果您收到的工作表中的日期以文本格式設置,則可以應用公式將日期從歐洲轉換為美國。

選擇一個要在其上放置轉換結果的空白單元格,輸入此公式 = DATE(VALUE(RIGHT(C2,4)),VALUE(MID(C2,4,2)),VALUE(LEFT(C2,2))),向下拖動填充手柄以將此公式應用於單元格。 然後,歐洲國家的日期已轉換為美國的日期格式。 看截圖:
doc轉換歐元之間的日期我們1

在公式中,C2是要從歐洲文本日期轉換為美國日期的日期。


箭頭藍色右氣泡 使用格式單元格在歐洲和美國之間轉換日期格式

如果您將收到的日期格式化為歐洲或美國日期,則可以申請 單元格格式 功能以快速處理歐美國家之間的轉換。

1.選擇要轉換的日期,然後右鍵單擊以選擇 單元格格式 從上下文菜單中。 看截圖:
doc轉換歐元之間的日期我們2

2.然後在 單元格格式 對話框,在數字選項卡下,然後單擊 日期 形成 類別 列出,然後選擇 英語(美國) 來自 語言環境(位置) 下拉列表,然後轉到 類別 列表以根據需要選擇一個日期格式。
doc轉換歐元之間的日期我們3

3。 點擊 OK。 現在,歐洲日期已轉換為美國日期。
doc轉換歐元之間的日期我們4

備註:如果要將美國的日期格式轉換為歐洲的日期格式,則可以從“區域設置(位置)”下拉列表中選擇“英語(英國)”,然後從“格式單元格”對話框的上述列表中選擇一種日期類型。 看截圖:
doc轉換歐元之間的日期我們5  doc轉換歐元之間的日期我們6


在Excel中輕鬆地將天/年/月/小時/分鐘/秒添加到日期時間

假設您在一個單元格中有一個日期時間格式數據,現在您需要在該日期中添加若干天,年,月,小時,分鐘或秒。 通常,使用公式是所有Excel用戶的第一種方法,但是很難記住所有公式。 用 Excel的Kutools日期和時間助手 實用程序,您可以輕鬆地將天,年,月,小時,分鐘或秒添加到日期時間,此外,您可以計算出日期差或基於給定生日的年齡,而無需記住任何公式。 點擊即可獲得 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 (7)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
hello folks... took me a moment, but this is the formula that works:

=MID(B10;FIND("/";B10;1)+1;FIND("/";B10;4)-FIND("/";B10;1)-1)&"."&LEFT(B10;FIND("/";B10)-1)&"."&MID(B10;FIND("/";B10;4)+1;4)

converts e.g. 5/21/2022 12:36 PM to 21.5.2022


Replace all B10 by the cell you want to convert
This comment was minimized by the moderator on the site
Another way to do this: Separate the european date, day/month/year, (say its in A1) into three new columns for the day, month, and year using "Text to File" and using the / symbol as your delimiting character. You'll be left with the day in column (b1), the month in the next column (c1), and the year in the last (d1). Finally in a fifth column (e1), combine the three numbers using =concatenate(c1,"/",b1,"/",d1).
This comment was minimized by the moderator on the site
Formula also does not work when the incoming European dates suppress the leading zero on the month and day portion (3/2/2017 instead of 03/02/2017 as the date of February 3, 2017).
This comment was minimized by the moderator on the site
why dont you try to fix it?
This comment was minimized by the moderator on the site
This formula: =DATE(VALUE(RIGHT(C2,4)), VALUE(MID(C2,4,2)), VALUE(LEFT(C2,2))) does not work if the dates are from the 19th century (1824 etc.) - it converts them to numbers in the 3000s. I'm no Excel wiz, but I do see that tinkering around with that 4 in the first RIGHT part of the equation produces various other dates, but never the correct 19th-century one. How do you get it to just keep the date originally entered?
This comment was minimized by the moderator on the site
Sorry, above formulas do not work for the dates befor 1900.
This comment was minimized by the moderator on the site
LOL
THIS IS FRUE:
=DATUM(HODNOTA(ZPRAVA(C7,4)), (ČÁST(C7,4,2)), (ZLEVA(C7,2)))
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations