Select max value per day

JennyReed

New Member
Joined
Feb 8, 2011
Messages
23
I have water level data with two - four records per day. I would like to extract the highest level per day. How do I get excel to do this ?

For example: raw data looks as follows
[TABLE="width: 183"]
<tbody>[TR]
[/TR]
[TR]
[TD]01/09/2009 08:50[/TD]
[TD="align: right"]76.8[/TD]
[/TR]
[TR]
[TD]01/09/2009 14:47[/TD]
[TD="align: right"]54.3[/TD]
[/TR]
[TR]
[TD]01/09/2009 20:59[/TD]
[TD="align: right"]82.7[/TD]
[/TR]
[TR]
[TD]02/09/2009 03:14[/TD]
[TD="align: right"]48.4[/TD]
[/TR]
[TR]
[TD]02/09/2009 09:29[/TD]
[TD="align: right"]81.7[/TD]
[/TR]
[TR]
[TD]02/09/2009 15:27[/TD]
[TD="align: right"]50.4[/TD]
[/TR]
[TR]
[TD]02/09/2009 21:38[/TD]
[TD="align: right"]87.6[/TD]
[/TR]
[TR]
[TD]03/09/2009 03:51[/TD]
[TD="align: right"]44.5[/TD]
[/TR]
[TR]
[TD]03/09/2009 10:02[/TD]
[TD="align: right"]85.7[/TD]
[/TR]
[TR]
[TD]03/09/2009 16:03[/TD]
[TD="align: right"]46.5[/TD]
[/TR]
[TR]
[TD]03/09/2009 22:12[/TD]
[TD="align: right"]91.5[/TD]
[/TR]
[TR]
[TD]04/09/2009 04:24[/TD]
[TD="align: right"]41.6[/TD]
[/TR]
[TR]
[TD]04/09/2009 10:32[/TD]
[TD="align: right"]89.6[/TD]
[/TR]
[TR]
[TD]04/09/2009 16:34[/TD]
[TD="align: right"]43.5[/TD]
[/TR]
[TR]
[TD]04/09/2009 22:43[/TD]
[TD="align: right"]94.5[/TD]
[/TR]
</tbody>[/TABLE]

Max per day table would look as follows:
[TABLE="width: 177"]
<tbody>[TR]
[TD]01/09/2009 20:59[/TD]
[TD]82.7[/TD]
[/TR]
[TR]
[TD]02/09/2009 21:38[/TD]
[TD]87.6[/TD]
[/TR]
[TR]
[TD]03/09/2009 22:12[/TD]
[TD]91.5[/TD]
[/TR]
[TR]
[TD]04/09/2009 22:43[/TD]
[TD]94.5[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 177"]
<tbody>[TR]
[/TR]
[TR]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 177"]
<tbody>[TR]
[TD="width: 64, align: right"][TABLE="width: 177"]
<tbody>[TR]
[TD="width: 64, align: right"][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Formula would be along the lines of:

=MAX(IF(INT(A1:A15)=INT(A1),B1:B15))

CNTL-SHIFT-ENTER to enter.
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,996
Members
452,373
Latest member
TimReeks

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top