Did you check the values in the ZPIL column? What do they look like? Sounds to me like there may be non-numeric data in it. Can you share it so I could have a look? Steve