如何在Excel中正確顯示/顯示負時間?
我們中的一些人可能會遇到此問題,當您從較早的時間12:20減去較晚的時間10:15時,您將得到如下錯誤所示的結果,即######錯誤。 在這種情況下,如何在Excel中正常正常顯示負時間?
通過更改Excel的默認日期系統正確顯示負時間
通過將Excel的默認日期系統更改為1904年日期系統,這是一種簡單快速的方法,可用於在Excel中正常顯示負時間。 請這樣做:
1。 打開 Excel選項 通過單擊對話框 文件 > 選項 在Excel 2010/2013中,然後單擊 辦公按鈕 > Excel選項 在Excel 2007中。
2。 然後在 Excel選項 對話框,單擊 高級 從左側窗格的右側部分中,檢查 使用1904年日期系統 下 計算此工作簿時 部分。 看截圖:
3.完成設置後,單擊 OK。 負時間將立即正確顯示,請參見屏幕截圖:
使用公式正確顯示負時間
如果您不想更改日期系統,也可以使用以下公式來解決此任務。
1。 輸入您要計算的日期,然後輸入此公式 = TEXT(MAX($ A $ 1:$ A $ 2)-MIN($ A $ 1:$ A $ 2),“-H :: MM”) (A1和A2分別表示兩個時間單元)變成一個空白單元。 看截圖:
2。 然後按 Enter 密鑰,您將獲得正確的結果,如下所示:
小提示:
這是另一個公式也可以幫助您: = IF(A2-A1 <0,“-”&TEXT(ABS(A2-A1),“ hh:mm”),A2-A1)
在這個公式中, A2 表示時間較短,並且 A1 代表更長的時間。 您可以根據需要更改它們。
在Excel中根據需要將所有數字更改為正數或負數
|
在Excel中,一個包含負值和正值的數字列表,需要轉換為正數或負數,在這種情況下,哪種方法是快速而準確地解決工作的最佳方法? 改變價值的標誌 的效用 Excel的Kutools 將是一個不錯的選擇。 點擊即可獲得 30 天的全功能免費試用! |
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%,每天為您減少數百次鼠標點擊!
Sort comments by
#34529
This comment was minimized by the moderator on the site
0
0
#34336
This comment was minimized by the moderator on the site
Report
0
0
#34338
This comment was minimized by the moderator on the site
0
0
#34337
This comment was minimized by the moderator on the site
Report
0
0
#31044
This comment was minimized by the moderator on the site
0
0
#23667
This comment was minimized by the moderator on the site
0
0
#23668
This comment was minimized by the moderator on the site
0
0
#20664
This comment was minimized by the moderator on the site
0
0
#20665
This comment was minimized by the moderator on the site
0
0
#19521
This comment was minimized by the moderator on the site
0
0
#18933
This comment was minimized by the moderator on the site
0
0
#18934
This comment was minimized by the moderator on the site
0
0
#14177
This comment was minimized by the moderator on the site
0
0
#13867
This comment was minimized by the moderator on the site
0
0
#13868
This comment was minimized by the moderator on the site
0
0
#13869
This comment was minimized by the moderator on the site
0
0
#13534
This comment was minimized by the moderator on the site
0
0
#13535
This comment was minimized by the moderator on the site
0
0
There are no comments posted here yet