View Single Post
Old 2021-10-03, 03:42   #6
axn's Avatar
Jun 2003

11×479 Posts

Ok. So you need a .xslm file, where you insert a Module and define a public function.
Public Function Pminus1Probability(e as Long, tf as Integer, B1 as Long, B2 as Long) As Double
and then put a formula in the cell as, for example, =Pminus1Probability(A1, B1, C1, D1)
axn is offline   Reply With Quote