Formula help to get the exceeded hour from a target time

Lukma

Active Member
Joined
Feb 12, 2020
Messages
259
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Hi Guys

Can anyone assist with a formula to calculate only the exceeded hours from a target KPI Hours

I was told in my Office to use a formula for a KPI

Column C1 with arrive Date and Time
Column D3 with Manifest Passed 3 hours before vessel arrived FWB <=3 Hrs. in Column F3 =YES
Column G3 with Permission Date and Time <=6 Hrs.

What i need in column G3 is to get the Exceeded Hours ( Time ) only after subtracting the KPI 6 Hours from the Actual Time
IF E3 if Grater D3 KPI target Actual Is =10:29 then Subtract Actual from KPI 6Hrs = 4:29hrs.
So i need the formula that can give me the result of 4:29hrs in Column G3 and if it meet it should give Option a negative Time or to Leave Blank in cell

Regards

ILSP Summary Data Reports.xlsx
CDEFG
2FWB Date & TimeManifest Date & TimeADNOC PermissionManifest Passed on Time KPI <=3 Hrs before Vessel arrive FWBPermission Granted KPI <= 6 Hrs
331/12/20 21:0031/12/20 11:0531/12/20 21:34YES
431/12/20 21:0031/12/20 23:0031/12/21 23:05NO
501/03/21 05:0001/03/21 06:0001/03/21 05:10NO
Sheet1
Cell Formulas
RangeFormula
F3:F5F3=IF(D3>C3-TIME(3,0,0),"NO","YES")
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Are your dates real dates ( right aligned without manual alignment) ?
 
Upvote 0
Are your dates real dates ( right aligned without manual alignment) ?
Hi Arthurbr

Yes My dates are real aligned and manually aligned
i only Picked few entry from my data to show what i required
Regards
 
Upvote 0

Forum statistics

Threads
1,223,898
Messages
6,175,272
Members
452,628
Latest member
dd2

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