Avg Arrays

P

PAL

I have a table 30 rows, 3 columns

Col A is product name (3 products)
Col B is region name (sold in US)
Col C is # Unit for each product (5, 3, 1)


How create a formula that will give me the average number of units for the
sum of the products in a given region.

Output in example should be 9/3 =3

Thanks.
 
S

Shane Devenshire

Hi,

By the way you example bothers me "(5+3)/2 =4.5" ?? should be 4.

In 2007 you can use AVERAGEIF

=AVERAGEIF(B1:B9,"US",C1:C9)

or if you enter the region in D1

=AVERAGEIF(B1:B3,D1,C1:C3)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Arrays, averages 1
Arrays and Averages 8
arrays and avgs 1
Arrays and Average 3
Lookup Formula 4
A specific method for conditional averaging? 2
sum by rows in Pivot 1
Lookup when value is between 2 columns 4

Top