I am currently building a Weather Station Data spreadsheet that will include Annual Maximums and Minimums from the Raw Data Download.
The Raw Data grows monthly, row by row, over the years. Therefore I need to be able to search the entire Raw Data array but only search for a specific period within that array.
I have uploaded a sample spreadsheet to Dropbox:
Dropbox
My problem:
In this Spreadsheet I know how to find the Minimum Temperature from the Downloaded Raw Data for a specific month or year.
e.g. from actual spreadsheet: =MINIFS('Raw Data'!$C:$C,'Raw Data'!$C:$C,"<>0",'Raw Data'!$A:$A,"2023*")
What I can’t work out is how to find the correct Matching Date for that Minimum.
This is because I don't know how to specify a year to search within the array.
I have tried INDEX MATCH without correctly working out how to do this for this task. I don’t know how to write a formula that searches within the array for a specific part/year.
Maybe XLOOKUp is the way to go? But again, I don’t know how to write a formula that searches for the lookup_value within a specific year in only part of the array.
E.g: =XLOOKUP(D3,'Raw Data'!B1:B22,'Raw Data'!A1:A22)
Also, I am not sure if XLOOKUP can look to the left by more than 1 Column (the actual Raw Data tab contains up to 34 Columns to the right of the Date Column)?
Notes:
The Raw Data grows monthly, row by row, over the years. Therefore I need to be able to search the entire Raw Data array but only search for a specific period within that array.
I have uploaded a sample spreadsheet to Dropbox:
Dropbox
My problem:
In this Spreadsheet I know how to find the Minimum Temperature from the Downloaded Raw Data for a specific month or year.
e.g. from actual spreadsheet: =MINIFS('Raw Data'!$C:$C,'Raw Data'!$C:$C,"<>0",'Raw Data'!$A:$A,"2023*")
What I can’t work out is how to find the correct Matching Date for that Minimum.
This is because I don't know how to specify a year to search within the array.
I have tried INDEX MATCH without correctly working out how to do this for this task. I don’t know how to write a formula that searches within the array for a specific part/year.
Maybe XLOOKUp is the way to go? But again, I don’t know how to write a formula that searches for the lookup_value within a specific year in only part of the array.
E.g: =XLOOKUP(D3,'Raw Data'!B1:B22,'Raw Data'!A1:A22)
Also, I am not sure if XLOOKUP can look to the left by more than 1 Column (the actual Raw Data tab contains up to 34 Columns to the right of the Date Column)?
Notes:
- The Date Column is TEXT format and not DATE Format. It will always be TEXT.
- 0=no data sampled in data download. It does not normally mean 0 degrees. 0’s therefore need to be ignored.
- It doesn’t matter if there are 2 or more identical values within a year.