Hi Philippe,
Try:
if (Average({Schedule.Duration_time}, {@Pat_name}) = 90000 and {@test3} < 60000)
OR
(Average({Schedule.Duration_time}, {@Pat_name}) = 120000 and {@test3} < 90000)
OR
(Average({Schedule.Duration_time}, {@Pat_name}) = 1500000 and {@test3} < 1200000) then
crblue else crnocolor
-Abhilash