actually your case statement can be simplied as
SELECT Account,
DATEDIFF(dd, received_date, COALESCE(mailed_date,payment_date)) AS 'Days'
FROM my_table
------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/