Hi and welcome

I don't quite see your layout but a possibility would be =max(a1,d1,h1,j1)-min(a1,d1,h1,j1)>your_tolerance

Perhaps post a small sample sheet ( no pics please)