Thank you for your reply. I used the MySQL formula: CONCAT( IF(([1627]= (1081)), ((floor(([date_updated]-[date_added])/86400))), 0), 'D:', LPAD(IF(([1627]= (1081)), (floor((([date_updated]-[date_added])/3600) - ([1628]*24))), 0), 2, 0), 'h:', LPAD(IF(([1627]= (1081)), (ROUND((([date_updated]-[date_a...