Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 298
Default Max value for each day, and hour of that occurrence

Have data arranged in 3 columns, Date, Hour, Value. X days worth at a time.

Need to get the Max(Value) for each Date, and the Hour of that occurrence.
So the results would look something like the following in date, hour, value
format...

11/21/07 04:00 1235
11/22/07 02:00 1324
11/23/07 01:00 1256
..
..
..
simple problem, but so far the solution doesn't seem so..might it be?

Regards.



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Max value for each day, and hour of that occurrence

Easiest way is probably to use a pivot table. Place your cursor in the middle
of the source data and select Data|Pivot Table - follow the wizard. Place
the Date and Time in the left hand columns and the Values in the middle. When
the table is created right click on the days and select Field
Settings|Advanced - Top 1 Items by Value.
--
HTH...

Jim Thomlinson


"Rich" wrote:

Have data arranged in 3 columns, Date, Hour, Value. X days worth at a time.

Need to get the Max(Value) for each Date, and the Hour of that occurrence.
So the results would look something like the following in date, hour, value
format...

11/21/07 04:00 1235
11/22/07 02:00 1324
11/23/07 01:00 1256
.
.
.
simple problem, but so far the solution doesn't seem so..might it be?

Regards.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 298
Default Max value for each day, and hour of that occurrence

Thanks Jim.

Didn't work on days, but it did on hour.

"Jim Thomlinson" wrote:

Easiest way is probably to use a pivot table. Place your cursor in the middle
of the source data and select Data|Pivot Table - follow the wizard. Place
the Date and Time in the left hand columns and the Values in the middle. When
the table is created right click on the days and select Field
Settings|Advanced - Top 1 Items by Value.
--
HTH...

Jim Thomlinson


"Rich" wrote:

Have data arranged in 3 columns, Date, Hour, Value. X days worth at a time.

Need to get the Max(Value) for each Date, and the Hour of that occurrence.
So the results would look something like the following in date, hour, value
format...

11/21/07 04:00 1235
11/22/07 02:00 1324
11/23/07 01:00 1256
.
.
.
simple problem, but so far the solution doesn't seem so..might it be?

Regards.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Overtime for 8 hour and 40 hour Curtis Excel Discussion (Misc queries) 1 June 7th 07 07:32 PM
convert decimal numbers to a fraction of an hour for payroll hour Flower Excel Worksheet Functions 4 February 10th 06 07:46 PM
convert time from 60 minute hour to 100 minute hour Jboerding Excel Discussion (Misc queries) 2 July 6th 05 11:30 PM
V Lookup 2nd Occurrence Rodney New Users to Excel 8 April 27th 05 05:07 PM
How can I round an hour to the nearest 1/4 hour? Ms Chewie Excel Worksheet Functions 5 December 21st 04 05:05 AM


All times are GMT +1. The time now is 11:27 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"