跳到主要內容

如何在Excel中將小時轉換為8小時工作日?

如果您有一個小時數列表,則需要將其轉換為8小時工作日,以便快速獲得員工的總工作日。 您如何在Excel中快速輕鬆地處理此工作?

使用公式將小時數轉換為8小時工作日


使用公式將小時數轉換為8小時工作日

要將小時數更改為正常工作日,可以應用以下公式,具體操作如下:

輸入以下公式: = QUOTIENT(A2,8)&“ days”&(((A2 / 8)-QUOTIENT(A2,8))* 8&“ hours” 放入要獲取結果的空白單元格中,然後將填充手柄向下拖動到要填充此公式的單元格中,所有小時單元格都已轉換為8小時工作日格式。 看截圖:

備註:如果您的小時數採用HH:MM:SS格式,則可以按以下方式獲得工作日:

1.請輸入以下公式: = A2 * 3 放入空白單元格以放置結果,然後將填充手柄向下拖動到單元格,請參見屏幕截圖:

2.然後選擇公式單元格,然後右鍵單擊以選擇 單元格格式 從上下文菜單的 單元格格式 對話框,單擊 習俗 ,在 類別 列錶框,然後輸入 0.00“天” 類別 文本框,請參見屏幕截圖:

3.然後單擊 OK 按鈕關閉對話框,您將根據需要獲得結果,請參見屏幕截圖:

最佳辦公生產力工具

🤖 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 (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