+ Reply to Thread
Results 1 to 2 of 2

Summarizing and graphing trends

  1. #1
    Registered User
    Join Date
    02-02-2014
    Location
    California, USA
    MS-Off Ver
    Excel 2013
    Posts
    11

    Summarizing and graphing trends

    I was on this forum a few day ago and @alansidman kindly directed me to Power Query. I have been watching the linked videos and learning about it but I am a slow learner at this age. I will appreciate some help in summarizing a dataset to figure out the size of batteries needed for a residential solar system to minimize drawing power from the grid during the year. Data is provided by the hour and I need to summarize it by each day between 'Solar (production) Time' which is 9:00AM-4:59PM these days and changes during the year vs Battery (drain) Time which is 5:00PM-8:59AM these days. Trends can be graphed by the week or the month.
    The query may be further refined by using seasonal sunlight hours start and end times.
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Summarizing and graphing trends

    First of all, I put the data into a table. There are many advantages of using tables. In this case, formulas expressed in terms of column headers which make them easier to understand. Read up on and play with tables. They will save you a lot of headaches in the future.

    I added a helper column called time with the formula =IF(AND([@[START TIME]]>=$G$2,[@[END TIME]]<=$I$2),"Solar","Battery") If the start time is greater than or equal to the solar end time AND the end time is less than or equal to the solar end time, then the period is counted under Solar. Else, it is Battery.

    Then the formulas at the bottom are: =SUMIFS(Table1[USAGE],Table1[Time],"Solar") and =SUMIFS(Table1[USAGE],Table1[Time],"Battery")
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] parsing and summarizing a column for dates, then summarizing in a parallel column
    By James C in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-29-2013, 10:02 AM
  2. Graphing Nighttime vs Daytime trends on the same graph
    By suchen in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 02-27-2012, 09:38 PM
  3. Graphing Overlapping Trends
    By ExcelAteMyHomework in forum Excel General
    Replies: 4
    Last Post: 09-07-2011, 04:12 PM
  4. Trends
    By gordy4barnet in forum Excel General
    Replies: 4
    Last Post: 08-08-2011, 06:44 AM
  5. graphing trends
    By aszure in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-06-2010, 01:07 AM
  6. Summarizing data to reveal trends
    By timmycl_7 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-17-2008, 11:52 AM
  7. [SOLVED] trends
    By usenet in forum Excel General
    Replies: 3
    Last Post: 01-09-2006, 03:20 PM
  8. [SOLVED] TRENDS
    By Robin in forum Excel General
    Replies: 0
    Last Post: 02-11-2005, 10:06 AM

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