Hello
tbergines,
Thanks for reaching us. I understand that you need help organizing data. As the
Solar data and
Usage data are unequal in size, the missing values are filled by zero.
To solve this problem, we can organize the data in a slightly different manner. From your dataset, I filtered the required values in the following way:
Here, I used the following formula to filter out the required date values:
=FILTER('January 2023 Solar'!B2:B2977,MOD(ROW('January 2023 Solar'!B2:B2977)-1,4)=1)
You may require changing the
Number Format of these cells to
Date.
Afterward, to filter out the time values, I used a similar formula:
=FILTER('January 2023 Solar'!C2:C2977,MOD(ROW('January 2023 Solar'!C2:C2977)-1,4)=1)
Change the
Number Format of these cells to
Time if required.
However, since the
Filter function is only available in
MS Office 365, use the following alternative formula if you don’t have access to
MS Office 365.
=TEXT(TEXTSPLIT(TEXTJOIN(",",TRUE,IF(MOD(ROW('January 2023 Solar'!B2:B2977)-1,4)=1,'January 2023 Solar'!B2:B2977,"")),,","),"m/dd/yyyy")
For the Usage data, I copied and pasted the actual non-zero filled values, and for Solar data, I summed all the values with the same
Time Interval for each date. I used the following formula to accomplish that:
=SUMIFS('January 2023 Solar'!$F$2:$F$2977,'January 2023 Solar'!$B$2:$B$2977,'Updated Dataset'!A2,'January 2023 Solar'!$C$2:$C$2977,'Updated Dataset'!B2)
Then I inserted a
Pivot Table using this filtered dataset:
Then I inserted a
Pivot Chart-
The workbook with the updated dataset is attached below.
Hopefully, I was able to resolve your problem. Let us know your feedback.
Regards,
Seemanto Saha
ExcelDemy