#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PAL PAL is offline
external usenet poster
 
Posts: 200
Default Avg Arrays

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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Avg Arrays

duplicate post
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"PAL" wrote:

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.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Avg Arrays

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)

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"PAL" wrote:

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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Use of IF with arrays Andrew L Excel Worksheet Functions 5 August 15th 08 10:15 PM
Use of arrays Dave F Excel Worksheet Functions 0 November 30th 06 04:26 PM
Use of arrays DKS Excel Worksheet Functions 0 November 30th 06 04:11 PM
Arrays Brendan Vassallo Excel Discussion (Misc queries) 4 February 23rd 06 02:27 AM
3D Arrays DB Excel Worksheet Functions 2 October 10th 05 03:50 PM


All times are GMT +1. The time now is 09:30 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"