Everything is ok now. Using the formula you gave works with both 7.77 and earlier versions perfectly. Thanks for the help