My data is set out as below.
I have a column for date(A), energy type(B) and 48(B-AX) columns for time (00:00-23:30) with 30 min intervals.
The data is set out so that the date is the same for 3 rows(A2-A4), energy type is unique for B2-B4 (W, var, VA) and the range (C2-AX5) contains values...