Not sure I have interpreted correctly.
Try array entering this in B2 fill down and across.If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
Then this in B31 (AGGREGATE ignores errors) and fill across.I am not a statistician. This next might not suite the purpose. I used this next AGGREGATE function because of the ignore errors option. That's STDEV.S ; for STDEV.P change the 7 to 8.
I filled the formula you had in B33 and filled across.
Wasn't sure what you wanted to do with the #N/A errors. I left them in place.
Bookmarks