Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fumbling with DAVERAGE 1

Status
Not open for further replies.

carrr

Technical User
Sep 10, 2001
3,543
US
Biting the bullet here...
I've hit a wall trying to make this work, and a more competent hand is likely going to chortle at my inability to sort this out. It may be that I'm totally barking up the wrong tree.
I've been handed a relatively small spreadsheet (A1:S265).
I'm really concerned with two columns within it, K and L.
I need to calculate an average for L WHEN the date in K falls within a given parameter (ex: >=7/1/2000 and <=6/30/2001).
DAVERAGE was my first inclination, but it's leaving me with incessant #VALUE! errors.
(For what it's worth, my current formula looks like: =DAVERAGE(K1:L265,L:L,AA1:AB2)...
Any input most appreciated.

 
Change your L:L to 2

from:
=DAVERAGE(K1:L265,L:L,AA1:AB2)
to:
=DAVERAGE(K1:L265,2,AA1:AB2)

Also for AA1:AB2 is it?:
Code:
Date        Date
>=7/1/2000  <=6/30/2001
&quot;Date&quot; should equal the same as your column header for column K

Mike
 
Sorry to lag, but just came around after smiting myself a good one after reading your reply.

2 ... sheesh!

Mike, you are the man.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top