Average IFS with multiple conditions

joserdsousa

New Member
Joined
Dec 17, 2017
Messages
4
Hello, guys.

I'm facing some trouble with an excel file. Either I'm stupid or I'm not using the proper tools.
:confused::eek::p:p

I have a spreadsheet with more than 100.000 values.

The data are organized as followed:
Day/Month/ Year (Column 1)
Time (Column 2)
Energy consumption [kWh] (Column 3)

The data are organized with a step of 15min each , i.e.:
01/01/2016 || 00:00 || 121
01/01/2016 || 00:15 || 124
01/01/2016 || 00:30 || 122
01/01/2016 || 00:45 || 128
01/01/2016 || 01:00 || 123
01/01/2016 || 01:15 || 124
01/01/2016 || 01:30 || 122
01/01/2016 || 01:45 || 128
...
31/12/2016 || 23:45 || 95

What I'm trying to do is, organize the data hour by hour, and day by day of the year, like this, in separate columns and lines:
01/01/2016 || 00:00 || 122
01/01/2016 || 01:00 || 124
01/01/2016 || 02:00 || 122
01/01/2016 || 03:00 || 124
....
31/12/2016 || 23:00 || 125

I need also to perform a simple calculation, i.e., I want the average value of the energy consumption at the day 01/01/2016 at 00:00, 01:00, 02:00, etc. Because the values measured have a interval of 15min.

Thanks in advance

Note:
If you guys want I can send you the spread sheet with the data.
 

Some videos you may like

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Watch MrExcel Video

Forum statistics

Threads
1,122,514
Messages
5,596,610
Members
414,080
Latest member
penguin23

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top