Forum Discussion

KITSONA's avatar
KITSONA
Copper Contributor
Mar 06, 2021

Collating tricky data

Ok team, I’m rally needing help.

I have one years worth of 1/2hourly electricity usage data. I want to condense it to hourly usage then compare hours of each day of the week in respective months.

I haven’t found a good formula to achieve this. I’m hoping some smart cookie out there will know how to crack the code

12 Replies

  • KITSONA 

    The values in the date/time column are text values. I converted them to real date/time values, then created a pivot table.

    See the attached version.

    Years and months are shown in the Rows area of the pivot table, hour of the day in the Columns area, and sum of usage in the Values area.

    • KITSONA's avatar
      KITSONA
      Copper Contributor

      HansVogelaar 

       

      Hi Hans,

       

      That's an awesome effort (thank you). I didnt think about pivot tables (I was too focused on vlookups).

       

      My only question now is how I can take the data provided and turn it into days of the week?

       

      I have manually been collating this data below (very time consuming). This is data from the month of February. Below is an example of what I am trying to achieve. See the below graph - the graph shows the average hourly power usage by day.

       

       MONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAYSUNDAY
      12:30:00 AM8.167.727.72587.5757.857.76
      1:30:00 AM7.87.967.97.857.757.6757.68
      2:30:00 AM7.968.087.98.1257.7257.9757.82
      3:30:00 AM8.528.47.9257.758.158.2258.12
      4:30:00 AM12.0612.4215.119.7517.57.957.66
      5:30:00 AM21.9229.934.824.4522.2257.8257.9
      6:30:00 AM28.5834.9840.37528.22525.28.0758.52
      7:30:00 AM29.933.634.929.67529.0757.97511.8
      8:30:00 AM34.9636.136.42531.27529.8259.17511.72
      9:30:00 AM37.2234.9635.631.12529.659.510.58
      10:30:00 AM36.4834.4833.67530.2528.77510.0259.36
      11:30:00 AM37.736.134.3533.72531.0759.9759.06
      12:30:00 PM39.5835.5435.57540.4753410.8259.22
      1:30:00 PM40.1635.7841.47540.52536.49.57510.56
      2:30:00 PM42.8836.439.1541.335.52598.96
      3:30:00 PM40.6636.2636.72539.92535.88.1258.06
      4:30:00 PM38.433.8832.82538.333.47.758
      5:30:00 PM28.782826.17529.8524.657.257.16
      6:30:00 PM18.8619.7418.619.12517.4257.858.42
      7:30:00 PM15.415.1217.6516.22511.47.4258.28
      8:30:00 PM12.3613.4412.4511.1510.57.959.02
      9:30:00 PM7.929.468.757.89.5758.0758.32
      10:30:00 PM7.88.1487.657.858.1258.48

       

       

Resources