Finding Daily Averages for Values in Large File

Spitzer, Liz 1 Reputation point
2020-11-09T18:04:00.243+00:00

38434-excel1.png38349-excel2-copy-copy.png

I have a large spreadsheet of wave data from Lake Michigan spanning from May 2019 to October 2019. This data is collected from a buoy that records the values every 10 minutes. The file is large and contains over 20,000 rows. I need to find the daily average of the wave height for each day. Does anyone know how to do this easily? I do not want to have to go through and highlight the data from each day and would like to do it with some kind of if/then function. I attached pictures. Please help!!

Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,706 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Hua-MSFT 27,636 Reputation points
    2020-11-10T05:55:09.113+00:00

    @Spitzer, Liz ,

    According to the images, is the data of "WVHT" the wave height values?
    If so, I made a brief sample, and I would get an average value for every day via following 2 ways.

    Sample:

    38534-capture17.jpg

    1

    • Right click all data > Get Data from Table/Range > check the range of data which should be include headers, select the box of "My table has headers".
    • Select Date column > Home > Transform group > Date Type: Date > Replace Current.
    • Then go to Group By > Choose "Basic" and group by “Date” cloumn, name a new column (Here I call it as "Average Value"), and then choose "Average" as Operation and "WVHT(m)" as caulation column > Click OK.

    38535-capture18.jpg

    • Then I get the result below.

    38536-capture19.jpg

    Click File > Close & Load To > Table > Choose New Worksheet or Existing Worksheert to show the table > Click OK.

    2

    If you do not want to use Power Query, you may also use Subtotal.
    Select the data, go to Data > Outline group > Subtoatl, set as the following picture. If needed, you may also click the "Level 2" to just show the average value.

    38533-capture21.jpg

    Any misunderstanding, please let me know.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.