This proposed solution employs a helper table to find only the rows of data that have a temperature within the prescribed variance (+/- 3%). The table is populated using the following array entered formula*:
Formula:
=IF(ISERROR(INDEX(A$2:A$745,SMALL(IF($C$2:$C$745<=$Q$1*(1+$N$1),IF($C$2:$C$745>=$Q$1*(1-$N$1),ROW(A$2:A$745)-1)),ROW(A1)))),"",INDEX(A$2:A$745,SMALL(IF($C$2:$C$745<=$Q$1*(1+$N$1),IF($C$2:$C$745>=$Q$1*(1-$N$1),ROW(A$2:A$745)-1)),ROW(A1))))
The second table could be used as the final result table if the target temperature and radiation were put in another location. The second table is populated by an array entered formula* that is similar to the first, however it draws data only from the first table.
*Array entered formulas are activated by simultaneously pressing the Ctrl, Shift and Enter keys while the cell containing the formula is in edit mode.
Let us know if you have any questions.
Bookmarks