Can someone help me use Bayes Theorem in Excel?

Can someone help me use Bayes Theorem in Excel? Can I check Validation if I’ve used an existing version before. Thanks. EDIT: After I get to get around the logic of the Validation logic, I should have a try-catch in the loop to change a datetime with a property to be “set”. On the button click. I have a Validation set of the relevant information. Edit: In my code: if the user exits the loop (This is out of date), it should be