A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
This may be slightly simpler than IlirU's solution
=LET(rr,B3:B43,cc,C2:O2,DROP(REDUCE(0,rr,LAMBDA(s,b,VSTACK(s,DROP(REDUCE(-1,cc,LAMBDA(t,c,HSTACK(t,IF(ABS(MROUND(b,c)-b)<=$B$2/2,ROUND(b/c,0)&"="&MROUND(b,c),"")))),0,1)))),1))
However I think your original solution is much easier to understand and therefore easier to maintain. The only virtue of either of our complex solutions is if the arguments of the IF function are likely to change then the change is confined to a single formula without any need for propagation.