$ 0 0 Sorry, I thought you wanted to use CASE statement. My bad.. Please ignore the comment above. Regards, Ravi