Formula find the average of positive Hours based on multiple criteria

Lukma

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

am Having little doubt how to go about this, finding the average of the positive hours and to ignore the negative hours based on criteria

from my table i have the Criteria List G, H which i need to find the average positive for each monthly and ignore the negative hours

Appreciate with a solution for the formula

Regards

ILSP KPI Performance Tracking.xlsx
BCDEFGH
1Monthly Mus End DateVls DeckTotal Exceed Hrs Cargo Start Time Cargo End Time01-Jan-21HalfFull
201-Jan-21Half-7Average of positive
301-Jan-21Half1
401-Jan-21Half3
501-Jan-21Half-4
601-Jan-21Full -1
701-Jan-21Half-9
801-Jan-21NAF-0
901-Jan-21Half-6
1001-Jan-21Half-1
1101-Jan-21Half-5
1201-Jan-21Full -3
1301-Jan-21Half-3
1401-Jan-21Full 0
1501-Jan-21Full -7
1601-Jan-21Full -4
1701-Jan-21Half-1
1801-Jan-21Half-14
1901-Jan-21Half-6
2001-Jan-21Half3
2101-Jan-21Full 14
2201-Jan-21Half-14
2301-Jan-21Half-6
2401-Jan-21Half3
2501-Jan-21Half14
2601-Jan-21Full -8
2701-Jan-21Half-4
2801-Jan-21NAF-8
2901-Jan-21Half0
3001-Jan-21Half-12
3101-Jan-21Half-4
3201-Jan-21Full 7
3301-Jan-21Half-8
3401-Jan-21Full -5
3501-Jan-21Full -6
3601-Feb-21Full -10
3701-Feb-21Half-0
3801-Feb-21Half-6
3901-Feb-21Half-8
4001-Feb-21Half-14
4101-Feb-21Full 2
4201-Feb-21Half29
4301-Feb-21Half7
4401-Feb-21Half4
4501-Feb-21Half1
4601-Feb-21Full 0
4701-Feb-21Half25
4801-Feb-21NAF-18
4901-Feb-21Half-10
5001-Feb-21Half-4
5101-Feb-21Half-8
5201-Feb-21Full -4
5301-Feb-21Half6
5401-Feb-21Full -9
5501-Feb-21Full -5
5601-Feb-21Full 14
5701-Feb-21Half-7
5801-Feb-21Half-3
5901-Feb-21Half-5
6001-Feb-21Half-1
6101-Feb-21Full -18
6201-Feb-21Half-13
Sheet2
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Perhaps try the AVERAGEIFS function?
 
Upvote 0
Solution
HI Arthurbr

i thought as much great it works thanks
 
Upvote 0

Forum statistics

Threads
1,215,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

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