+ Reply to Thread
Results 1 to 8 of 8

Calculating daily values from hourly

  1. #1
    Registered User
    Join Date
    12-17-2009
    Location
    Manitoba
    MS-Off Ver
    Excel 2007
    Posts
    3

    Calculating daily values from hourly

    I need some help summarizing some data- I have hourly values for soil temperature for several months but i need daily max and min values from these- I know how to get max/min values from a single set for data but i dont want to do this for every day as it would take forever!- How can i set up a function to just do every day for me?

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Calculating daily values from hourly

    Hi Snodrifter,

    welcome to the forum

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed, supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!

  3. #3
    Registered User
    Join Date
    12-17-2009
    Location
    Manitoba
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Calculating daily values from hourly

    Ive uploaded the spreadsheet- there is hourly values for 10cm and 15 cm depth- what i need to do i get daily max and min values from this without having to set up a different function for every day (too time consuming!) Would like to set up a function where i can just copy down and save time
    Attached Files Attached Files

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Calculating daily values from hourly

    Hi,

    no need to upload 13000+ rows of data, 1000 would have been more than enough and gentler on my data plan!

    This is a classical case for a pivot table. That's what they're there for. Any formula will only be more complicated and less efficient.

    Learn about Pivot tables in the Excel help or start here: http://peltiertech.com/Excel/Pivots/pivotstart.htm

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Calculating daily values from hourly

    In fairness this may not be quite so trivial to setup as a standard Pivot given the Grouping requirements so...

    Attached is an XL2007 example based on your data set

    Note: I've removed rows beyond 1000 to keep the attachment small - simply add the data for A1001:C13231 to this file and refresh the Pivot.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    12-17-2009
    Location
    Manitoba
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Calculating daily values from hourly

    Thank you DonkeyOte! I am not too familiar with pivot tables and had no luck getting one to work but this works perfectly!
    Thanks again

  7. #7
    Registered User
    Join Date
    03-06-2012
    Location
    Knoxville, TN
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Calculating daily values from hourly

    Hi DonkeyOte,
    I have a different set of data but I also need daily data from hourly . How did you add Years to table?
    thanks

  8. #8
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Calculating daily values from hourly

    MSBExcel,

    Welcome to the Forum, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies. Also this thread is over two years old.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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