Averageifs - syntax issues

mattharesign

New Member
Joined
Jan 12, 2011
Messages
7
Hi

I'm trying to use averageifs to average sone values based on certain criteria.

I need to take data in column c away from column s, then average the result for the entire range. Cells in column s may be blank though. For the entire set of columns with no other criteria, I get the correct result

with =average(if(isnumber S2:s3000),S2:s3000-c2:c3000) finsihed off with ctrl shift enter.

What I need to do is check data in column e, and do the same calculation again, but only for that specific result.

eg, column e contains a data type "callback", so i only need the calculation done for the cells in s and c that have this in cell e.

I keep getting errors of various flavours and I'm not sure why.

Help?

:p
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Code:
=AVERAGE(IF(ISNUMBER(S2:S3000),IF(E2:E3000="callback",S2:S3000-C2:C3000)))
Does this work?

Chris
 
Upvote 0

Forum statistics

Threads
1,215,544
Messages
6,125,438
Members
449,225
Latest member
mparcado

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