Thanks All for your help! The calculation now works!! Cheers, Rick