I pull a report from a database that contains the following information.
key time value
1111 8/1/2010 08:30 500
2222 8/1/2010 08:30 800
3333 8/1/2010 08:30 700
4444 8/1/2010 08:30 1000
1111 8/1/2010 09:00 550
2222 8/1/2010 09:00 820
3333 8/1/2010 09:00 755
4444 8/1/2010 09:00 1010
1111 8/1/2010 09:30 560
2222 8/1/2010 09:30 840
3333 8/1/2010 09:30 770
4444 8/1/2010 09:30 1010
I am at wits end trying to use the dmax and just can't seem to get it. I need to get the max value for each key each day. the report has a months worth of data on it. so I need two criteria in the formula, key and time. Any help would be appreciated, I did a search but couldn't find anything on it. thanks in advance.
I'm thinking it will have to have two times, a greater than, and a less than.
Bookmarks