I upload an excel file to help understand my problem.
So I have date and time and in column 2 I have my parameter value.
Note 1) not all the data is at 04:30:00, and this is a huge problem in the macro I found online.
1-1-16 0:00 1
4-1-16 4:30 1