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?

:nya:
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Code:
=AVERAGE(IF(ISNUMBER(S2:S3000),IF(E2:E3000="callback",S2:S3000-C2:C3000)))
Does this work?

Chris
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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