Formula Help To Calculate Hours exceeding the Target hours KPI

Lukma

Board Regular
Joined
Feb 12, 2020
Messages
240
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Hi Guys

I need a help around few formula to to calculate hours exceeding a target KPI 12Hrs. to complete the operation Work for Offloading & Loading

Column A1 with start time 01/01/21 03:00
Column B1 With End Time 01/01/21 19:00

what i need formula to do is to give me the exceeded Hours that do not meet the KPI 12 hrs. completed
And If the target is meet it should give me a negative hours

Appreciate with any Help with formula to get this done

Regards
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hi Lukma,

Does this do what you ask?

Lukma.xlsx
ABC
1StartEndKPI Met?
21-Jan-2021 03:001-Jan-2021 19:00Exceeds KPI
31-Jan-2021 03:003-Jan-2021 18:00Exceeds KPI
41-Jan-2021 03:001-Jan-2021 14:00OK
51-Jan-2021 23:002-Jan-2021 10:00OK
61-Jan-2021 23:002-Jan-2021 11:00OK
71-Jan-2021 23:002-Jan-2021 11:01Exceeds KPI
Sheet1
Cell Formulas
RangeFormula
C2:C7C2=IF(B2>A2+TIME(12,0,0),"Exceeds KPI","OK")
 
Upvote 0
Solution
Hi Lukma,

Does this do what you ask? Yes thanks so much Toadstool

Lukma.xlsx
ABC
1StartEndKPI Met?
21-Jan-2021 03:001-Jan-2021 19:00Exceeds KPI
31-Jan-2021 03:003-Jan-2021 18:00Exceeds KPI
41-Jan-2021 03:001-Jan-2021 14:00OK
51-Jan-2021 23:002-Jan-2021 10:00OK
61-Jan-2021 23:002-Jan-2021 11:00OK
71-Jan-2021 23:002-Jan-2021 11:01Exceeds KPI
Sheet1
Cell Formulas
RangeFormula
C2:C7C2=IF(B2>A2+TIME(12,0,0),"Exceeds KPI","OK")
 
Upvote 0

Forum statistics

Threads
1,215,003
Messages
6,122,655
Members
449,091
Latest member
peppernaut

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