# Average Function with 2 determinants

#### gossv

##### Board Regular
Hi, Firstly I love this website! It makes my life so much easier and results in me swearing less at the excel help function.

Can someone please help me write a formulae. I need to find the average of a group of figures based on 2 determinants; Find the average of all deals that are in october and in NSW

NSW OCT 10,000
VIC MAR 20,000
VIC OCT 5,000
NSW MAR 4,000
VIC OCT 7,000
NSW OCT 3,000

Thank you

### Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

##### MrExcel MVP
use a pivot table.

#### gossv

##### Board Regular
Hi, in this instance I can't use a pivot table as this data will link with other data on one sheet.

Any ideas for a formulae? The formulae below uses the same requirements but sums instead of averages so I just need it to average. I've played with AVERAGEIF(......
AVERAGE(IF(.........
I'm just not getting it!

=SUMIF('Raw Data - Plan No.'!\$H:\$H,'Prac'!\$B\$10&'Prac'!D\$5,'Raw Data - Plan No.'!\$B:\$B)

##### MrExcel MVP
=average(if(range1=condition1,if(range2=condition2,range_to_average)))

...entered with control + shift + enter, not just enter.

Replies
2
Views
613
Replies
0
Views
410
Replies
2
Views
241
Replies
0
Views
196
Replies
1
Views
1K

1,171,213
Messages
5,874,391
Members
433,049
Latest member
piyushbund77

### 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.

### Which adblocker are you using?

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

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