I used this formula all the time, I can't believe I didn't see the solution!!

Thanks for your help