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

วิธีแปลงชั่วโมงเป็นวันทำงาน 8 ชั่วโมงใน Excel

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

แปลงชั่วโมงเป็นวันทำงาน 8 ชั่วโมงด้วยสูตร


แปลงชั่วโมงเป็นวันทำงาน 8 ชั่วโมงด้วยสูตร

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

ใส่สูตรนี้: = QUOTIENT (A2,8) & "วัน" & ((A2 / 8) -QUOTIENT (A2,8)) * 8 & "ชั่วโมง" ลงในเซลล์ว่างที่คุณต้องการรับผลลัพธ์จากนั้นลากที่จับเติมลงไปที่เซลล์ที่คุณต้องการเติมสูตรนี้และเซลล์ชั่วโมงทั้งหมดจะถูกแปลงเป็นรูปแบบวันทำงาน 8 ชั่วโมง ดูภาพหน้าจอ:

หมายเหตุ: หากชั่วโมงของคุณอยู่ในรูปแบบ HH: MM: SS คุณจะได้รับวันทำงานดังนี้:

1. โปรดป้อนสูตรนี้: = A2 * 3 ลงในเซลล์ว่างเพื่อใส่ผลลัพธ์จากนั้นลากที่จับเติมลงไปที่เซลล์ดูภาพหน้าจอ:

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

3. จากนั้นคลิก OK เพื่อปิดกล่องโต้ตอบและคุณจะได้ผลลัพธ์ตามที่คุณต้องการดูภาพหน้าจอ:

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

🤖 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 (14)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
good morning

I was able to convert days and hours with the formula but I can't enter the minutes, could I send the formula containing days, hours and minutes?
thanks
This comment was minimized by the moderator on the site
ok.. got it... pls do not approve the comment. thanks.
This comment was minimized by the moderator on the site
i believe something is wrong... 400hrs cannot be 50 working days! Let me explain by using simple formula:
if 40 hours = 1 day, how many days are there in 400hrs?

40 = 1
400 = ?

then it is 400/40 = 10days
This comment was minimized by the moderator on the site
hi, how to sum up all hours in figures?
This comment was minimized by the moderator on the site
How do i calculate days from given hours and exclude weekends for this example above?
This comment was minimized by the moderator on the site
Hi, Sibu,
Maybe the folloewing formula can help you, please try, hope it can help you!
=FLOOR(A1*3,1)&" Days and "&TEXT(SUM(A1,-TIME(8,0,0)*FLOOR(A1*3,1))," h") & " Hours " & MINUTE(A1) & " Minutes "
This comment was minimized by the moderator on the site
Hi I want to do the opposite from 3 days 6 hours 10 minutes have the formula to get 30:10:45
This comment was minimized by the moderator on the site
thanks for this training. but what was looking for is to calculate how many hours been worked for using the start time and the end time.
i.e. start time end time total hours
8:30 5:00

I want you to please show me the formula to calculate the total hours I have worked for within this period of time.

Thanks
This comment was minimized by the moderator on the site
Hello,
To solve your problem, maybe the following article can help you, please try:
https://www.extendoffice.com/documents/excel/3825-excel-calculate-net-work-hours-between-two-dates-excluding-weekends.html
This comment was minimized by the moderator on the site
This formula works but if I want the work days and hours remaining, what is the formula for that?
This comment was minimized by the moderator on the site
What is the formula for vice-versa? As in if i want to convert 1 days, 08:45:23 into 32:45:23
This comment was minimized by the moderator on the site
HI There,

please con you help me with the Excel Formula to Calculate the Standard Net Hours

The Required NET Hours to Work is 7.5 hours per day, i want the net hours to be calculated automatically as 7.5 hours and also show variance if theres' any short hours.

Name Log In Log Out Gross Hours Extra Hours Net Hours
Benny Boli 8:47 16:33 0:00 0:00 0:00
This comment was minimized by the moderator on the site
Can u tell me what is 31.90 hours how many days is that
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