How can I use the AVERAGE function like the SUMIF function?

galatius

New Member
Joined
Dec 12, 2006
Messages
33
I want to calculate the mean average of values that have been assigned to specific, recurring variables. I have organised my data like this:

Variable Column Value Column

Variable A(1) Value (A1)
Variable B(1) Value (B1)
Variable C(1) Value (C1)

Variable A(2) Value (A2)
Variable B(2) Value (B2)
Variable C(2) Value (C2)

Variable A(3) Value (A3)
Variable B(3) Value (B3)
Variable C(3) Value (C3)

The mean averages that I want to calculate are for the values of all variables A (i.e. A1 - An), B (B1 - Bn), etc.

Obviously I could simply do this using a regular AVERAGE function by manually inputing the cell references for all of the relevant values. However, this would be too time-consuming and I am sure there must be a quicker way. If there was an AVERAGEIF function then I could do this very easily by filtering the values that are averaged according to the corresponding variable in the same way that the SUMIF function filters values that are then summed.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,224,621
Messages
6,179,941
Members
452,949
Latest member
beartooth91

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