One interesting suggestion was withdrawing securities in lieu of cash, but don’t think of it as a get-out-of-jail-free card ...
If you can write an Excel formula, you can build your own function.