[Solved] Condensing Data

tbergines

New member
I'm having trouble overlaying data from both solar and usage data for electricity. The problem is that the solar data is measured in 15-minute intervals and the usage data is done by the hour. I have tried to organize the data according to that, but the problem is that the usage data shows up as 1/4th the size of the solar data, and fills the missing data with zeros.
 

Attachments

  • January 2023 Solar.xlsx
    262.2 KB · Views: 5
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:
XEBv7i0SWhwt3ZVyq8HxV_8l-UVgdYbxOS8ALHFemEc6tkBrXl99Boc7WJBUQ2n24XwLVtchifUNXFHYy7yr0VYBWEOdCML4P20nCVI1H0ZzJnVmqDzBMnU6PribDzmtsUjvdtogIJPtH1Ch5Qdxcok

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)
gQw0rSf8ebvESmf9LVcfmg01V8tBfRSdnv_Fs_9gsYqllzlvp2MWbJa15DmxtsO2L55sWsbHW5nLcT-9yTzxpHfQDMVN4ridusWgmSO3paffh5-Z65k18SjZbGtoF_H59C4931lrKRMfCZt9Jhm_RIg
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)
ZapTeHPgBHiVzs7jtLf_pE_KfTv3PHJCazfmyL5byvlen2hKBHiyUi_u3RX7NSoKRj0iXj1SWlVr07BbgO3on97pbjvYJclOFhvgdmtG7V2kLRBq-cwcMnD2WHwmFeY7WJyPK71et2KJQcTKvoMVQfs
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)
rtV_VI8WQ5cboByA3LLijMU8c7iZT1lFKkJdXBmjjSp4ilwSAJe0e9NOw7rf3n834wPlrU3yHwMhhNqBLKZeGZAz3qBWyFB5Dh7TxvSKjJBfJUepKSwr-k9xjLLNynnqF2k2M2BM1Nsz68W8vNftj94

Then I inserted a Pivot Table using this filtered dataset:
o0koqpxmLNae1OnsVgUZa8fqAaQBnD-Y5QJl4hOGiCTmyT_IeXisCxZ9HhW_CmczQKZjweOkaHJFNFvy65XaJ5NndtZUkvE9quKkEbYru8mzinuZ_AqtZ_0JK0FOhQky57OMJifBIKYz0PK0PRQYJWs

Then I inserted a Pivot Chart-
NmWyiMiQEypwQc0Yzqhc9MlCOMwG2ENSi5PW2aSxUthIwop19WbeD33wcQ4QyjZLrtJO2iz88VvAA6dRBDoSTLk5hB6ZONyeEsbWI28NYZ4KMRA9uNKYvFETwBwm0hreXOYDPGi-pBJ2qreD85DD3xQ
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
 

Attachments

  • January 2023 Solar.xlsx
    333.8 KB · Views: 0

Online statistics

Members online
0
Guests online
6
Total visitors
6

Forum statistics

Threads
306
Messages
1,351
Members
557
Latest member
RSntg
Top