+ Reply to Thread
Results 1 to 6 of 6

Find Daily Maximum from Hourly Data

  1. #1
    Registered User
    Join Date
    04-25-2013
    Location
    BC, Canada
    MS-Off Ver
    Excel 2010
    Posts
    3

    Find Daily Maximum from Hourly Data

    Hi all,

    This seems like a "simple" question, but after struggling for awhile I thought I would ask for some help.

    I have two columns of data:

    Column A - Dates of Hourly* Readings

    Column B - River Level Elevation data. (could be anything though: rainfall, temperature, etc.)

    So, it looks like this:

    10/17/2011 562.123
    10/17/2011 562.431
    10/17/2011 562.431
    ...more readings
    10/18/2011 562.312
    10/18/2011 562.342
    ...more readings


    *However, the "catch" is that there are not always exactly 24 hourly measurements each day (sometimes only 18-24), as the data logger isn't perfect. Oh, and there are about 10,000 readings in total


    All I would like to do is have a summary of the maximum elevation measured on each day.

    10/17/2011 562.510
    10/18/2011 562.410
    10/19/2011 562.450
    ...

    If someone provide me with help on this issue or point me in the right direction that would be great!

    Thanks!

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Find Daily Maximum from Hourly Data

    Use a pivot table and use the function max (of the pivot table) on the text of column B.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    04-25-2013
    Location
    BC, Canada
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Find Daily Maximum from Hourly Data

    Thank you for your reply oeldere! I'm afraid I've never used Pivot Tables before, so perhaps you could break it into smaller steps for me.

    Here's what I tried:

    1) I managed to insert a Pivot Table, and "Checked" the two fields "Date" and "Elevation" to add to the report.

    2) I changed the Values function to "Maximum".

    See the attached image/xls for where I'm at. Right now it's just showing the Maximum of the entire data set and all the data is still shown.

    Where should I go from here?

    Thanks!
    Attached Images Attached Images
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Find Daily Maximum from Hourly Data

    See the attached file, for some solutions.

    Your problem (was) that you have date and time in your cells (in column A).

    Then you can't make it unique.

    Therefor I used helpcolumn.

    The advantage of the helpcolumns is also that you can use them also in your pivot table.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-25-2013
    Location
    BC, Canada
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Find Daily Maximum from Hourly Data

    Great! Thank you for this help and I am definitely now interested in learning more about Pivot Tables!

    Much Appreciated!

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Find Daily Maximum from Hourly Data

    Thanks for the reply.

    Glad i could help.

    Will you mark the problem solved, if it is solved (if you didn't mark it solved already).

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1