ไปยังเนื้อหาหลัก

วิธีแปลงรูปแบบวันที่ที่ไม่ได้มาตรฐานเป็นวันที่มาตรฐานใน Excel

บางทีคุณอาจเคยพบกับรูปแบบวันที่ที่ไม่เป็นมาตรฐานต่างๆเมื่อคุณใช้สมุดงาน Excel Excel ไม่รู้จักและคุณไม่สามารถใช้เพื่อการคำนวณหรือเปลี่ยนรูปแบบได้ตามที่คุณต้องการ คุณจะเปลี่ยนรูปแบบวันที่แปลก ๆ เหล่านี้เป็นวันที่มาตรฐานของ Excel ได้อย่างไร

แปลงวันที่ที่จัดเก็บเป็นข้อความเป็นวันที่ของ Excel ปกติด้วยสูตร
แปลงตัวเลขเป็นวันที่ของ Excel ปกติด้วยฟังก์ชัน Text to Columns
แปลงวันที่ที่ไม่เป็นมาตรฐานต่างๆให้เป็นวันที่ของ Excel ปกติได้อย่างง่ายดายด้วย Kutools for Excel


แปลงวันที่ที่จัดเก็บเป็นข้อความเป็นวันที่ของ Excel ปกติด้วยสูตร

ที่นี่ฉันจะพูดถึงการใช้ฟังก์ชัน DateValue เพื่อเปลี่ยนวันที่ของข้อความเป็นวันที่ของ Excel ที่เหมาะสม เมื่อคุณป้อนข้อมูล '2013 / 03 / 21 ในเซลล์ เครื่องหมายอะพอสทรอฟีก่อนวันที่จะถูกใช้เพื่อระบุให้ Excel ทราบว่าค่าในเซลล์เป็นค่าข้อความ (ดูภาพหน้าจอต่อไปนี้) คุณสามารถแปลงวันที่ของข้อความนี้เป็นวันที่ของ Excel ได้ตามขั้นตอนต่อไปนี้:

doc แปลงเป็นวันที่ปกติ1

1. ในเซลล์ B1 ที่อยู่ติดกันให้ป้อนสูตร = Datevalue (A1)ดูภาพหน้าจอ:

doc แปลงเป็นวันที่ปกติ2

2. จากนั้นกด เข้าสู่ สูตรจะส่งกลับตัวเลข 41317 นี่คือคำตอบที่ถูกต้อง แต่มีรูปแบบที่ไม่ถูกต้อง ดังนั้นคุณต้องเปลี่ยนรูปแบบวันที่

3. เลือกเซลล์ B1 แล้วคลิกขวาเลือก จัดรูปแบบเซลล์ จากเมนูบริบท ใน จัดรูปแบบเซลล์ คลิกตกลง จำนวน > วันที่และเลือกวันที่ในท้องถิ่นตามที่คุณต้องการ ดูภาพหน้าจอ:

doc แปลงเป็นวันที่ปกติ3

4. จากนั้นคลิก OKตัวเลขได้ถูกแปลงเป็นวันที่ของ Excel ปกติแล้ว จากนั้นเลือกเซลล์ B1 แล้วลากจุดจับเติมไปยังช่วงที่คุณต้องการให้มีสูตรนี้ ดูภาพหน้าจอ:

doc แปลงเป็นวันที่ปกติ4

ปลาย: บางทีคุณอาจมีรูปแบบวันที่นี้ด้วย 2013- มี.ค. -12ที่ วันที่ค่า สามารถเปลี่ยนเป็นวันที่ของ Excel ได้เช่นกัน ทำตามนี้:

1. ใส่สูตร = DATEVALUE (ขวา (A1,2) & "-" & MID (A1,6,3) & "-" & LEFT (A1,4)) ลงในเซลล์ว่าง B1 ดูภาพหน้าจอ:

doc แปลงเป็นวันที่ปกติ5

2. จากนั้นแตะ เข้าสู่ เลือกเซลล์ B1 จากนั้นลากที่จับเติมไปยังช่วงที่คุณต้องการ ดูภาพหน้าจอ:

doc แปลงเป็นวันที่ปกติ6

นี่เป็นเพียงตัวอย่างง่ายๆ สองตัวอย่าง หากคุณมีรูปแบบวันที่ที่เป็นข้อความอื่น คุณต้องใช้สูตรอื่นเพื่อจัดการ

คลิกเดียวเพื่อแปลงวันที่ที่ไม่เป็นมาตรฐานต่างๆให้เป็นวันที่ปกติใน Excel:

พื้นที่ แปลงเป็นวันที่ ประโยชน์ของ Kutools สำหรับ Excel สามารถช่วยคุณแปลงวันที่ที่ไม่เป็นมาตรฐานต่างๆเป็นวันที่ปกติได้อย่างรวดเร็วในเวลาเดียวกันด้วยการคลิกเพียงครั้งเดียวใน Excel ดาวน์โหลด Kutools สำหรับ Excel ทันที! (เส้นทางฟรี 30 วัน)


แปลงตัวเลขเป็นวันที่ของ Excel ปกติด้วยฟังก์ชัน Text to Columns

บางครั้งคุณอาจมีตัวเลขเช่น 20130321 ในเซลล์ แต่ตอนนี้คุณต้องการแปลงเป็นวันที่ของ Excel ปกติ 3/21/2013ที่ ข้อความเป็นคอลัมน์ เครื่องมือสามารถแปลงตัวเลขเป็นวันที่ที่รู้จักใน Excel

1. เลือกเซลล์ที่คุณต้องการเปลี่ยนแปลง

2. คลิก ข้อมูล > ข้อความเป็นคอลัมน์ใน แปลงตัวช่วยสร้างข้อความเป็นคอลัมน์ตรวจสอบ ที่คั่นและคลิก ถัดไป.

doc แปลงเป็นวันที่ปกติ7

3. ในขั้นตอนที่ 2 คลิกโดยตรง ถัดไป เพื่อดำเนินการต่อ

doc แปลงเป็นวันที่ปกติ8

4. ในขั้นตอนที่ 3 เลือก วันที่ จาก รูปแบบข้อมูลคอลัมน์และเลือก int จาก วันที่ รายการแบบเลื่อนลง ดูภาพหน้าจอ:

doc แปลงเป็นวันที่ปกติ9

5. จากนั้นคลิก เสร็จสิ้นและตัวเลขในเซลล์ที่เลือกได้เปลี่ยนเป็นวันที่ของ Excel ปกติ ดูภาพหน้าจอ:

doc แปลงเป็นวันที่ปกติ10 -2 doc แปลงเป็นวันที่ปกติ11

แปลงวันที่ที่ไม่เป็นมาตรฐานต่างๆให้เป็นวันที่ของ Excel ปกติด้วย Kutools for Excel

วันที่ที่ไม่ได้มาตรฐานที่แตกต่างกันจำเป็นต้องมีวิธีแก้ปัญหาที่แตกต่างกันดังนั้นเราจึงต้องมีวิธีการที่สะดวกและหลากหลายซึ่งสามารถช่วยให้เราเปลี่ยนวันที่แปลก ๆ เป็นวันที่ของ Excel ปกติได้ในเวลาเดียวกัน กับ แปลงเป็นวันที่ of Kutools สำหรับ Excelคุณสามารถแปลงรูปแบบวันที่ที่ไม่เป็นไปตามมาตรฐานซึ่ง Excel ไม่สามารถระบุเป็นรูปแบบวันที่ปกติได้อย่างรวดเร็ว

ก่อนที่จะใช้ Kutools สำหรับ Excelโปรด ดาวน์โหลดและติดตั้งในตอนแรก.

1. เลือกช่วงที่มีวันที่ที่ไม่เป็นมาตรฐานที่คุณต้องการแปลงคลิก Kutools > คอนเทนต์ > แปลงเป็นวันที่ดูภาพหน้าจอ:

2. จากนั้น แปลงเป็นวันที่ กล่องโต้ตอบปรากฏขึ้นคุณสามารถเห็นวันที่ที่ไม่เป็นมาตรฐานทั้งหมดในช่วงที่เลือกจะถูกแปลงเป็นรูปแบบวันที่ปกติในเวลาเดียวกัน ดูภาพหน้าจอ:

  หากคุณต้องการทดลองใช้ยูทิลิตีนี้ฟรี (30 วัน) กรุณาคลิกเพื่อดาวน์โหลดแล้วไปใช้การดำเนินการตามขั้นตอนข้างต้น


Demo: แปลงรูปแบบวันที่ที่ไม่เป็นมาตรฐานต่างๆให้เป็นวันที่มาตรฐาน

สุดยอดเครื่องมือเพิ่มผลผลิตในสำนักงาน

🤖 Kutools AI ผู้ช่วย: ปฏิวัติการวิเคราะห์ข้อมูลโดยยึดตาม: การดำเนินการที่ชาญฉลาด   |  สร้างรหัส  |  สร้างสูตรที่กำหนดเอง  |  วิเคราะห์ข้อมูลและสร้างแผนภูมิ  |  เรียกใช้ฟังก์ชัน Kutools...
คุณสมบัติยอดนิยม: ค้นหา เน้น หรือระบุรายการที่ซ้ำกัน   |  ลบแถวว่าง   |  รวมคอลัมน์หรือเซลล์โดยไม่สูญเสียข้อมูล   |   รอบโดยไม่มีสูตร ...
การค้นหาขั้นสูง: VLookup หลายเกณฑ์    VLookup หลายค่า  |   VLookup ข้ามหลายแผ่น   |   การค้นหาที่ไม่ชัดเจน ....
รายการแบบเลื่อนลงขั้นสูง: สร้างรายการแบบหล่นลงอย่างรวดเร็ว   |  รายการแบบหล่นลงขึ้นอยู่กับ   |  เลือกหลายรายการแบบหล่นลง ....
ผู้จัดการคอลัมน์: เพิ่มจำนวนคอลัมน์เฉพาะ  |  ย้ายคอลัมน์  |  สลับสถานะการมองเห็นของคอลัมน์ที่ซ่อนอยู่  |  เปรียบเทียบช่วงและคอลัมน์ ...
คุณสมบัติเด่น: กริดโฟกัส   |  มุมมองการออกแบบ   |   บาร์สูตรใหญ่    สมุดงานและตัวจัดการชีต   |  ห้องสมุดทรัพยากร (ข้อความอัตโนมัติ)   |  เลือกวันที่   |  รวมแผ่นงาน   |  เข้ารหัส/ถอดรหัสเซลล์    ส่งอีเมลตามรายการ   |  ซุปเปอร์ฟิลเตอร์   |   ตัวกรองพิเศษ (กรองตัวหนา/ตัวเอียง/ขีดทับ...) ...
ชุดเครื่องมือ 15 อันดับแรก12 ข้อความ เครื่องมือ (เพิ่มข้อความ, ลบอักขระ, ... )   |   50 + แผนภูมิ ประเภท (แผนภูมิ Gantt, ... )   |   40+ ใช้งานได้จริง สูตร (คำนวณอายุตามวันเกิด, ... )   |   19 การแทรก เครื่องมือ (ใส่ QR Code, แทรกรูปภาพจากเส้นทาง, ... )   |   12 การแปลง เครื่องมือ (ตัวเลขเป็นคำ, การแปลงสกุลเงิน, ... )   |   7 ผสานและแยก เครื่องมือ (แถวรวมขั้นสูง, แยกเซลล์, ... )   |   ... และอื่น ๆ

เพิ่มพูนทักษะ Excel ของคุณด้วย Kutools สำหรับ Excel และสัมผัสประสิทธิภาพอย่างที่ไม่เคยมีมาก่อน Kutools สำหรับ Excel เสนอคุณสมบัติขั้นสูงมากกว่า 300 รายการเพื่อเพิ่มประสิทธิภาพและประหยัดเวลา  คลิกที่นี่เพื่อรับคุณสมบัติที่คุณต้องการมากที่สุด...

รายละเอียด


แท็บ Office นำอินเทอร์เฟซแบบแท็บมาที่ Office และทำให้งานของคุณง่ายขึ้นมาก

  • เปิดใช้งานการแก้ไขและอ่านแบบแท็บใน Word, Excel, PowerPoint, ผู้จัดพิมพ์, Access, Visio และโครงการ
  • เปิดและสร้างเอกสารหลายรายการในแท็บใหม่ของหน้าต่างเดียวกันแทนที่จะเป็นในหน้าต่างใหม่
  • เพิ่มประสิทธิภาพการทำงานของคุณ 50% และลดการคลิกเมาส์หลายร้อยครั้งให้คุณทุกวัน!
Comments (36)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
How to convert dd.mm.yyyy to excel date format
This comment was minimized by the moderator on the site
Hello Soon,

Glad to help. I have solution for this. Just use the second method in the article: Convert Numbers To Normal Excel Date With Text To Columns Function. Please follow the instructions in the method, and just make sure you choose DMY from the Date drop down list in step 4. See screenshot. Then click Finish to get the correct result, which is 6/21/2022.

Please have a try.

Sincerely,
Mandy
This comment was minimized by the moderator on the site
Taking A1 as the cell which has the date formatted as dd.mm.yyyy, ~

Formula----> =TEXT(DATEVALUE(SUBSTITUTE(A1,".","-")),"mm-dd-yyyy")
This comment was minimized by the moderator on the site
Hello Siddhartha,

Thank you for your reply. But the formula doesn't work in my case. For example, I have date 21.06.2022 in cell A1. Use your formula and it returns the #VALUE! error value.

I have solution for this. Just use the second method in the article: Convert Numbers To Normal Excel Date With Text To Columns Function. Please follow the instructions in the method, and just make sure you choose DMY from the Date drop down list in step 4. See screenshot. Then click finish to get the correct result, which is 6/21/2022.

Please have a try.

Sincerely,
Mandy
This comment was minimized by the moderator on the site
How do I remove the time form the date in excel?
This comment was minimized by the moderator on the site
Hello Harish,

Glad to help. Please see our article: https://www.extendoffice.com/documents/excel/875-excel-remove-time-from-date.html. In this article lists four methods to remove time from date. Please have a try. Have a nice day.

Sincerely,
Mandy
This comment was minimized by the moderator on the site
Select the column where that dates are > Ctrl+H > Find value as " *"; Replace value as blank > Replace all.
The date format would look something like this - dd-mm-yyyy 00:00:00.
Then change the date format to "Short Date".

Job done!
This comment was minimized by the moderator on the site
Hello Siddhartha,

Thank you again for your help. Have a nice day.

Sincerely,
Mandy
This comment was minimized by the moderator on the site
how do i convert 2109 (YYMM) into 09/2021
This comment was minimized by the moderator on the site
=TEXT(DATE(YEAR(LEFT(F10,2))+(YEAR(TODAY())-YEAR(LEFT(F10,2)))-(TEXT(TODAY(),"yy")-LEFT(F10,2)),RIGHT(F10,2),1),"mm/yyyy")
This comment was minimized by the moderator on the site
Hello Siddhartha,

Thank you for your help. Your formula works perfectly. Have a nice day.

Sincerely,
Mandy
This comment was minimized by the moderator on the site
I wanted to convert 1529557740 to this format Fri 22 Jun 2018 00:09:00. It didn't work. Can someone suggest
This comment was minimized by the moderator on the site
Found the answer: A2 / 86400 + 25569 - 5 / 24 (where A2 is column name and -5 UTC time offset for CST)
This comment was minimized by the moderator on the site
how do o convert from yyyyy-mm-ddd hh mm ss to yyyy-mm-dd?
This comment was minimized by the moderator on the site
how convert 2/1/2018 5:54:58 PM to Feb 01, 2018 3:08 PM
This comment was minimized by the moderator on the site
how to convert 12/14 to December 2014
This comment was minimized by the moderator on the site
Hi Team, how to convert date format from dd/mm/yyyy hh:mm:ss to dd-mm-yyyy hh:mm:ss by using any formula or simple step also. when am trying to do the format cells to change the date format, cells are remain same.pls do the needful.
This comment was minimized by the moderator on the site
Check out the example and formula of how to convert the exact data format which you want in the attached screen shot.
This comment was minimized by the moderator on the site
How to convert date format, '20.06.2016' to '20-06-2016' for applying the text formula?
This comment was minimized by the moderator on the site
Assuming the date is in cell A2, enter the following into cell B2 =SUBSTITUTE(A2,".","/")
This comment was minimized by the moderator on the site
=Text(dd-mm-yyyy)
This comment was minimized by the moderator on the site
I have an excel file that has a countdown function between time NOW and a future date/time. Works fine as long as I open the file every time on a laptop but when opened with a cell phone (IOS), the countdown calculates always to today's date as opposed to an assigned future date. Any thoughts?
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