Hi,
I have a small challenge with the following parameter where I would be very great full for some help.
2 columns of data, the first A contains sets of calendar dates:
A1 27-4-2013
A2 27-4-2013
A3 27-4-2013
A4 28-4-2013
A5 28-4-2013
Op to 5000 lines but normally around 140 of them for each date in April 2013
Colum B contains wind speed data from a met tower
B1 15,0
B2 5,3
B3 7,9
B4 3,2
B5 32,4
What I need to find are the Highest, Lowest and Average wind speed for a specific date.
I have a NOW -1 function in field C1 I would like to use as the parameter to search for in column A so I get the last full calendar days full data set (10min values), so writing it up it sounds something like this:
Look in column A line 1:5000 and if you find any date the same as in C1 then move the content of B to a new separate column D line 1:140 and when all 140 lines are extracted for the specific date then find the Highest, Lowest and Average wind speed between those extracted data.
I have been told that the below formulas would work but I can’t them to do so and all I get is an error code.
For the MAX value use this array formula (must be entered with Ctrl+Shift+Enter, not just Enter):
=MAX(IF(A1:A5000=DATE(YEAR(C1),MONTH(C1),DAY(C1)),B1:B5000))
For the MIN value use this array formula (must be entered with Ctrl+Shift+Enter, not just Enter):
=MIN(IF(A1:A5000=DATE(YEAR(C1),MONTH(C1),DAY(C1)),B1:B5000))
For the AVERAGE value use this formula entered with just Enter:
=AVERAGEIF(A1:A5000,DATE(YEAR(C1),MONTH(C1),DAY(C1)),B1:B5000)
Thanks in advance for any help and suggestions
S_T996
Bookmarks