Calculate hours

Fegal

Board Regular
Joined
Feb 2, 2013
Messages
101
Office Version
  1. 365
Platform
  1. Windows
Hello Excel friends

this might be real simple.... i need to calculate what b7+17 is into e7..


New Microsoft Excel Worksheet.xlsx
ABCDE
5End of last restDeployed
6Deployed membersDate & Time Date & Time17 Hour limit
7123/03/2024 8:0023/03/2024 18:0010
82
93
104
Sheet1
Cell Formulas
RangeFormula
D7D7=TEXT(C7-B7,"[H]")
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Ok, this seems straight forward. Enter in E7

Excel Formula:
=B7 + 17
 
Upvote 0
Is it 17 days or 17 hours you're trying to add to the date?
 
Upvote 0
How about this? 17 hours is a fraction of a day so divide by 24.
Book3
ABCDE
5End of last restDeployed
6Deployed membersDate & Time Date & Time17 Hour limit
7123/03/2024 08:00:0023/03/2024 18:00:001024/03/2024 01:00:00
82
93
104
Sheet9
Cell Formulas
RangeFormula
D7D7=TEXT(C7-B7,"[H]")
E7E7=B7+17/24
 
Upvote 0
Solution

Forum statistics

Threads
1,224,827
Messages
6,181,197
Members
453,021
Latest member
pingpong7117

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top