ok for instance i have to find the average net sales for each age group, ie
age groups 20-29, 30-39, 40-49 etc all the way til 70-79.
i have a list of net sales ie column I2- I101
and a list of ages(H2-H101) from 20-79, but in no order! (random)
and i need to pick up from the list of net sales(I2-I101) the average net
sales for the age group 20-29 and age group 30-39 etc all the way til 70-79
what formula do i punch in!?
So bascially i need to select (I2- I101) and then tell the system to find
the average net sales for only the people who ages where from ages 20- 29!
So how do i do that?
and thanks to Mr Bob Phillips!!!!
You helped me out early and had the right answer~~~you rock!
Thanks
A
Hi!
Try this:
Enter this formula in A2:
=ROW($20:$20) (ROWS($1:1)-1)*10
Enter this formula in B2:
=A2 9
Enter this formula as an array using the key combination of CTRL,SHIFT,ENTER
in C1:
=AVERAGE(IF((H$2:H$101gt;=A2)*(H$2:H$101lt;=B2),I$2:I$ 101))
Select all 3 cells: A2, B2 and C2 and copy down to row 7.
Select the range A2:B7
Goto Editgt;Copy
Then Editgt;Paste Specialgt;Valuesgt;OK
Biff
quot;viabelloquot; gt; wrote in message
...
gt; ok for instance i have to find the average net sales for each age group,
gt; ie
gt; age groups 20-29, 30-39, 40-49 etc all the way til 70-79.
gt; i have a list of net sales ie column I2- I101
gt; and a list of ages(H2-H101) from 20-79, but in no order! (random)
gt; and i need to pick up from the list of net sales(I2-I101) the average net
gt; sales for the age group 20-29 and age group 30-39 etc all the way til
gt; 70-79
gt; what formula do i punch in!?
gt; So bascially i need to select (I2- I101) and then tell the system to find
gt; the average net sales for only the people who ages where from ages 20- 29!
gt; So how do i do that?
gt; and thanks to Mr Bob Phillips!!!!
gt; You helped me out early and had the right answer~~~you rock!
gt; Thanks
gt; A
- Feb 22 Thu 2007 20:35
Taking age group Ie ages 20-29 and picking out net sales for group
close
全站熱搜
留言列表
發表留言