+ Reply to Thread
Results 1 to 9 of 9

Find max value every day from multiple daily values (Solarpanels daily yield)

  1. #1
    Registered User
    Join Date
    05-07-2013
    Location
    Denmark
    MS-Off Ver
    Excel 2013
    Posts
    2

    Find max value every day from multiple daily values (Solarpanels daily yield)

    Hello
    My solarpanels reports every 10 minutes how much they're producing.
    This gives me about 150 entries every day.
    I would like to select the total daily yield each day, but it is difficult, what to choose. The export from the panels may look like this:

    Total KWH Datetime
    32,458 01-05-2013 15:30
    33,290 01-05-2013 15:40
    34,095 01-05-2013 15:50
    34,877 01-05-2013 16:00
    35,643 01-05-2013 16:10
    36,387 01-05-2013 16:20
    37,108 01-05-2013 16:30
    37,810 01-05-2013 16:40
    ----
    29,091 02-05-2013 15:00
    29,886 02-05-2013 15:10
    30,629 02-05-2013 15:20
    31,397 02-05-2013 15:30
    32,175 02-05-2013 15:40
    32,936 02-05-2013 15:50
    33,704 02-05-2013 16:00

    For each date in column 2 I would like to show the max value of column 1,
    and list it like this
    37,810 01-05-2013
    33,704 02-05-2013
    etc.

    So for a month, where I have something like 4000 entries I would like to end up with 30/31 entries with the max values each date.

    What to do?

  2. #2
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Find max value every day from multiple daily values (Solarpanels daily yield)

    Since you have 150 entry each day.
    Let Total at column A.
    then we can use =MAX(A2:A151) to find the max.
    -If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

    -Always upload a workbook before start your question
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    +++ If my answer(s) helped you, please add me reputation by click on * +++

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Find max value every day from multiple daily values (Solarpanels daily yield)

    Pls upload a small sample workbook.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Find max value every day from multiple daily values (Solarpanels daily yield)

    i assume KWH date and time are split into 3 columns
    whereby KWH = A, Date = B
    E1 = 1st date

    Please Login or Register  to view this content.
    press SHIFT + CTRL + Enter when entering formula

  5. #5
    Registered User
    Join Date
    05-07-2013
    Location
    Denmark
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: Find max value every day from multiple daily values (Solarpanels daily yield)

    Hello again
    Actually I have 2 columns, one for kwh and one for the date and time. I could split the date and time so I have 3 columns.

    I don't have 150 entries every day, sometimes I have fewer and sometimes more entries.

    In SQL I might write something like
    select max(kwh), max(date, "dd-mm-yyyy") from yield
    group by max(kwh),max(date, "dd-mm-yyyy");

    But in Excel I have to deal with an alternating amount of entries per date
    Attached Files Attached Files

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Find max value every day from multiple daily values (Solarpanels daily yield)

    Without to split your date in column B, you can use this ARRAY formula.

    =MAX(IF(INT($B$2:$B$858)=E2;$A$2:$A$858))
    Attached Files Attached Files

  7. #7
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Find max value every day from multiple daily values (Solarpanels daily yield)

    Hi jakobscafe

    As you are using Excel 2013, you can use the AGGREGATE function.
    I have used cell D2 for the date "01/05/2013" then put the aggregate function in E2.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Select both cells and click the bottom right corner of cell E2 drag down for the max values of the other days.
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

  8. #8
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: Find max value every day from multiple daily values (Solarpanels daily yield)


  9. #9
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Find max value every day from multiple daily values (Solarpanels daily yield)

    Try PIVOT table

    See the attached file
    Attached Files Attached Files

+ 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