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.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,214,821
Messages
6,121,755
Members
449,049
Latest member
excelknuckles

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
Back
Top