instead of formulas, maybe try using the distribution platform's capability report
first set some specification limits via the column properties
next, just do a histogram on the column, capability happens automatically, and the smallest bit at the bottom has what you might be looking for.
JMP Systems Engineer, Health and Life Sciences (Pharma)