Working Averages over multiple criteria

Semaj0

New Member
Joined
Mar 21, 2018
Messages
2
Hi all,

I have a spread sheet where I record different departments response times to requests for information.

I am looking for a formulae which will return an average (mean) for each department, so far so simple just simply using this formulae =AVERAGEIF(F$2:F$700,"Corporate",L$2:L$700) which returns a value on everything within that search criteria.

However what I need is a formulae which will return a value when the work has been completed (on time or not) AND what has exceeded 20 days still on going but not before.

The columns I use for this are . . .

"Disclosed within 20 days" which returns a "Yes" or "No" depending on completion time and "N/A" which shows that the work is still outstanding.

"Total Days" which is a rolling count of each individual piece of work.

Thanks for any help this forum can provide, doing this manually is fairly time consuming.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Welcome to the Board!

Average is just the sum of all the values meeting all your criteria divided by the count of all the values meeting your criteria.
You can get the sum of all values meeting multiple criteria using the SUMIFS function (see: https://www.techonthenet.com/excel/formulas/sumifs.php)
And you can get the count of all values meeting multiple criteria using the COUNTIFS function (see: https://www.techonthenet.com/excel/formulas/countifs.php)

So, you average would just be the result of the SUMIFS formula divided by the result of the COUNTIFS function.

Using the links provided, see if you can get this to work. If you run into trouble, post back the formulas you came up with.
 
Upvote 0
Hi Joe

Thanks for this, been thinking about this the wrong way really, solution is simple and effective.

Thanks again.
 
Upvote 0

Forum statistics

Threads
1,216,118
Messages
6,128,939
Members
449,480
Latest member
yesitisasport

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