Anyone know how to convert Excel's 'ERF' function into a MySQL Function?

Any help would be much appreciated.

Apologizes in advance if this is a the wrong forum. In a jam and need some help!

Thank you!!!