As no example data table (images won't really work as data tables), I wrote smaller table to use as an example.
The formula might look a bit complicated, but works with the example data
:S[Col Max(Col Min(Row(), :F, == 5), :F)]
but it should be fairly easy to understand if you split it into three different formulas (I have attached data table with these). Idea is that first you get the rows numbers per fruit based on if Order is 5 or not using Col Min(). Then you use Col Max() to get maximum value of that column. Finally use the row number to get value from :Size column.
-Jarmo