Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Arrays, averages
I have a table 30 rows, 3 columns
Col A is product name (3 products) Col B is region name (US) Col C is # Unit for each product (5) Example Cars US 5 Trucks US 3 Cars Europe 6 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 (5+3)/2 =4.5 Thanks. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Arrays, averages
=SUMIF(B2:B31,"US",C2:C31)/COUNTIF(B2:B31,"US")
Just change the "US" to whatever region you want, or have it refer to another cell where you have the region listed. -- 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 (US) Col C is # Unit for each product (5) Example Cars US 5 Trucks US 3 Cars Europe 6 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 (5+3)/2 =4.5 Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Averages | Excel Discussion (Misc queries) | |||
Averages | Excel Worksheet Functions | |||
averages | Excel Worksheet Functions | |||
averages | Excel Worksheet Functions | |||
averages | Excel Discussion (Misc queries) |