Trying to find the Row(Window) and Column(Percentile) of the highest value in the grid. The value in Cell:AF7 finds the value in the grid(Heat map).
Once we calculate the Max value in the grid. We set the number of data points Above/Below in Cell:AI7 (This we enter in manually).
We then go into the Cells in the grid(Heat map), and then calculate the sum of the cells above and below the maximum number (which is returned in Cell AF7) dependant on the number of Data points Above/Below we are looking for. An example of this is done in Column D to M Rows 51 to 61. The sums are calculate of the cells above and below our maximum value in the grid.
We then want to return the maximum value of the sums of the data points above and below and then return the Percentile and Window Value.
As an example. Our max value on the heat map is 35.30026 and we want 2 Data points Above/Below. Then the maximum sum is 39.12358. Thus the percentile is 0.62 and the Window is 28.
Bookmarks