Hi Christine
If you follow my link to my website you will see alink to "Dynamic Ranges" follow this and you will see what you are after.
Dave
OzGrid Business Applications
Christine, I notice you say you are new to Excel. I also note you are using array formulas. I have some information on my Website also about arrays and how they can become a major problem. Consider using the Database functions (DAVERAGE) instead. They are designed for the job and wont cause any of the problems that arrays can.
Dave
OzGrid Business Applications
I was having trouble getting the areas defined
thats why i wasnt using it..
in my project I do something similar to this:
A B
1 work# %finished
2 A32 50%
3 B23 30%
4 A32 20%
5 C25 10%
and what I have to do is take the average of how
much the project is finished according to each
work#(number) So I average all of the A32's the B23's
and so on separately..
So, if anyone has any suggestions with that info, I will take it
too! THANKS!
I will take a look at those sites!
Christine
Can anyone provide me with a link that better explains
the use of DAVERAGE?? and the other database
functions?
Christine
Try this. I'll assume your "Work#" heading is in A1 and "%Finished" is in B1.
1. Create a Dynamic range for "%Finished" eg:
=OFFSET($B$2,0,0,COUNTA($B$2:$B$5000),1)
Call it "PerFinished"
2. Create a Dynamic range for "Work#" eg:
=OFFSET($A$2,0,0,COUNTA($A$2:$A$5000),1)
Call it "WorkNo"
3. Create a Dynamic range for the whole table eg:
=OFFSET($A$1,0,0,COUNTA($A$1:$A$5000),2)
Call it "Thelot"
4. Copy the headings in A1:B1 to E1:F1
5. Select E2 and go to Data>Validation
and select "list" then in the "Source" box type:
=WorkNo
6. Select F2 and go to Data>Validation
and select "list" then in the "Source" box type:
=PerFinished
7 Name Range E1:F2 Criteria.
8 Now in any cell put:
=DAVERAGE(TheLot,F1,Criteria)
Change the Critria to Average by selecting a entry from the list in Cell E2. You can of course use the same method with any of the Database functions.
DaveOzGrid Business Applications
Hi Christine
Type: DAVERAGE into the Excel help, there is quite a good amount of information there.
I will look about for a link for you.
Dave
OzGrid Business Applications
Christine, here is one. Hope it helps. Just yell if unsure.
http://www.erlandsendata.no/english/functions/lookup/dbfunctions.htm
DaveOzGrid Business Applications