how to use AVERAGEIF with 12 arguments?

bonbonboy

New Member
Joined
Oct 12, 2015
Messages
27
Hello here :)

I would like to calculate the average of chosen cells in excluding 0.

Based on that formula
Excel Formula:
=AVERAGEIF(I8,K8,M8,O8,Q8,S8,U8,W8,Y8,AA8,AC8,"<>0")
, i have to much arguments BUT i cannot take a range.
In J8, L8, N8 etc... there are some values i don't want to include in the calculation of the average.

Also i cannot make it vertically because each horizontal line defines someone, that's why my goal is to get my formula for each line.

Do you have some ideas please?
Thank you beforehand :)
 
I haven't had time to test, but it looks like you could use:

Excel Formula:
=AVERAGEIFS($I$7:$AC$7,"D*",I8:AC8,"<>0")
 
Upvote 0

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Shows how important sample data is, once again
 
Upvote 0
Thx for the move Rory.
Unfortunately your formula doesn't work.
@JEC i don't get what i have to fix in your function row because the range of cells you gave (column A) is empty in my sheet
 
Upvote 0
Apologies - I forgot the value range!

Excel Formula:
=AVERAGEIFS(I8:AC8,$I$7:$AC$7,"D*",I8:AC8,"<>0")
 
Upvote 0
Solution

Forum statistics

Threads
1,223,367
Messages
6,171,669
Members
452,416
Latest member
johnog

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