Code for minimum/maximum/average value for selected rows (Colomn wise values)?

I don't understand. Do you mean rows 5-9 for every 100 row? So it would be the min of rows 5,6,7,8,9 then the min of rows 109,110,111,112,113, then min of rows 213,214,etc...

Or something else? It would be easier to help if you provided a minimal example with the expected result, as described here.