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

วิธีการแปลงระหว่างวันที่ Julian และวันที่ในปฏิทินใน Excel

โดยทั่วไปวันที่แบบจูเลียนเป็นรูปแบบวันที่ซึ่งประกอบด้วยตัวเลข 5 หลักสองตัวแรกระบุปีและสามตัวสุดท้ายระบุวันของปี ตัวอย่างเช่น 14001 ระบุ 1/1/2014 ในปฏิทิน ตอนนี้บทช่วยสอนนี้กำลังพูดถึงวิธีการในการแปลงระหว่างวันที่ Julian และวันที่ในปฏิทินใน Excel

แปลงวันที่ Julian เป็นวันที่ในปฏิทิน

แปลงวันที่ในปฏิทินเป็นวันที่ Julian


ลูกศรสีฟ้าฟองขวา แปลงวันที่ Julian เป็นวันที่ในปฏิทิน

ในการแปลงวันที่ Julian เป็นวันที่ในปฏิทินคุณเพียงแค่ต้องมีสูตรใน Excel

1. พิมพ์สูตรนี้ในเซลล์ว่าง =DATE(IF(0+(LEFT(A1,2))<30,2000,1900)+LEFT(A1,2),1,RIGHT(A1,3)) กด เข้าสู่ ถ้าคุณต้องการคุณสามารถลากจุดจับเติมไปยังช่วงด้วยสูตรนี้ ดูภาพหน้าจอ:
doc-แปลง-จูเลียน-date-1

ปลาย: A1 ระบุวันที่ Julian ที่คุณต้องการแปลงเป็นวันที่ในปฏิทิน

2. จากนั้นคลิกขวาที่เซลล์ที่ไฮไลต์เหล่านี้แล้วเลือก จัดรูปแบบเซลล์ จากเมนูบริบทและในเมนูที่โผล่ออกมา จัดรูปแบบเซลล์ ไดอะล็อกภายใต้ จำนวน คลิกแท็บ วันที่ ใน หมวดหมู่ จากนั้นเลือกประเภทวันที่ที่คุณต้องการในส่วนด้านขวา
doc-แปลง-จูเลียน-date-2

3 คลิก OKจากนั้นคุณจะเห็นวันที่ Julian ทั้งหมดถูกแปลงเป็นวันที่ในปฏิทิน
doc-แปลง-จูเลียน-date-3


ลูกศรสีฟ้าฟองขวา แปลงวันที่ในปฏิทินเป็นวันที่ Julian

หากคุณต้องการแปลงวันที่ในปฏิทินเป็นวันที่ Julian คุณสามารถใช้สูตรด้านล่างนี้ได้

พิมพ์สูตรนี้ในเซลล์ว่าง =TEXT(A1,"yy")&TEXT((A1-DATEVALUE("1/1/"&TEXT(A1,"yy"))+1),"000") และกด เข้าสู่ หากคุณต้องการคุณสามารถใช้สูตรนี้กับช่วงโดยลากจุดจับเติมอัตโนมัติ
doc-แปลง-จูเลียน-date-4
ปลาย: A1 คือวันที่ในปฏิทินที่คุณต้องการแปลงเป็นวันที่ Julian


แปลงวันที่ที่ไม่เป็นมาตรฐานอย่างรวดเร็วเป็นการจัดรูปแบบวันที่มาตรฐาน (mm / dd / yyyy)

ในบางครั้งคุณอาจได้รับเวิร์กชีทที่มีวันที่ที่ไม่เป็นมาตรฐานหลายรายการและหากต้องการแปลงทั้งหมดเป็นการจัดรูปแบบวันที่มาตรฐานเป็น mm / dd / yyyy อาจเป็นเรื่องยุ่งยากสำหรับคุณ ที่นี่ Kutools สำหรับ Excel's แปลงเป็นวันที่ สามารถแปลงวันที่ที่ไม่เป็นมาตรฐานเหล่านี้ให้เป็นการจัดรูปแบบวันที่มาตรฐานได้อย่างรวดเร็วด้วยคลิกเดียว  คลิกเพื่อทดลองใช้ฟีเจอร์เต็มรูปแบบฟรีใน 30 วัน!
doc แปลงวันที่
 
Kutools for Excel: มีโปรแกรมเสริม Excel ที่มีประโยชน์มากกว่า 300 รายการให้ทดลองใช้ฟรีโดยไม่มีข้อ จำกัด ใน 30 วัน

บทความญาติ:

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

🤖 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 (22)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
thanks Sunny the formula worked perfect...I received it over a month ago....I appreciate it....its a big help...God Bless you
This comment was minimized by the moderator on the site
Can anyone help me convert a backwards formatted Julian date code? For example 25922 is September 16th, 2022.
This comment was minimized by the moderator on the site
Hi, DT, try below formula:
=DATE(IF(0+(RIGHT(A1,2))<30,2000,1900)+RIGHT(A1,2),1,LEFT(A1,3))
then format the result as the date formatting as you need.
This comment was minimized by the moderator on the site
Sunny-
That revised formula worked perfect! thanks for your help...I appreciate it.

Tony
This comment was minimized by the moderator on the site
Sunny-
Thanks for the reply, in order to get a 4-digit number, I last digit of the year would suffice (i.e. 2022=2 or 2023=3).
If you have any other ideas on how to modify the formula let me know...and thanks again for your response.
This comment was minimized by the moderator on the site
Hi, Tony, try this formula =RIGHT(TEXT(I1,"yy")&TEXT((I1-DATEVALUE("1/1/"&TEXT(I1,"yy"))+1),"000"),4), I1 is the date you want to convert.
https://www.extendoffice.com/images/stories/comments/sun-comment/formula-julia-date-4-digit.png
This comment was minimized by the moderator on the site
Hi-
Thank you for the excel formula...that converts a Calander date to a Julian date =TEXT(A1,"yy")&TEXT((A1-DATEVALUE("1/1/"&TEXT(A1,"yy"))+1),"000")

Your formula displays 5 digits for the Julian date....I'd like to change in the formula to get 4 digits for the Julian date. What should I do to get this outcome?

Thanks

Tony
This comment was minimized by the moderator on the site
Hi, Tony, the formula TEXT(A1,"yy")&TEXT((A1-DATEVALUE("1/1/"&TEXT(A1,"yy"))+1),"000") returns a 5-digit number, first two number indicate the year, last three number indicate the nth day of the year, 5 numbers combined to indicates the date. If you just want 4-digit number, I do not know which number you want to ignore.
This comment was minimized by the moderator on the site
Good Afternoon Sunny, I am in the same boat as Tony - Where I work we use a 4 digit Julian code, not a 5 digit one. For example - 29 December, 2023 would be listed in my work systems as Julian date "3363" instead of "23363" and 26 September 2016 would be listed as Julian date "6270" instead of "16270". Would it be possible for you adjust your formula to reflect this?
This comment was minimized by the moderator on the site
Si tienes Office en español, puedes utilizar la siguiente formula =TEXTO(DE2,"AA")&TEXTO((DE2-FECHANUMERO("1/1/"& TEXTO(DE2,"AA"))+1),"000") donde DE2 es la celda donde esta tu fecha gregoriana. Saludos
This comment was minimized by the moderator on the site
Ex: 2019181
This comment was minimized by the moderator on the site
=DATE(INT(A1/1000),1,MOD(A1,1000))
This comment was minimized by the moderator on the site
=DATE(INT(A1/1000),1,MOD(A1,1000))
This comment was minimized by the moderator on the site
Can anyone help me convertig 6 digital julian date to normal date ?
This comment was minimized by the moderator on the site
Hi, there is a problem when you try to convert Julian date to calendar date with dates of 2001 thru 2009. Any suggestions? Example 1/1/2001 = JD of 01001 which is correct. However if you use the formula JD of 01001 to Calendar Date conversion the answer is 1/1/2010. Where is this error?
This comment was minimized by the moderator on the site
Tried with formulae given in the post, but not working.
Output is as something like 2017Tue
This comment was minimized by the moderator on the site
Sorry I cannot get your problem clearlly? Could you upload a screenshop of your file to me for sovling? Thank u.
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