Why will TIP be blank if greater than 24 hours?
I think what you should first do is that you should write down your requirements clearly by giving examples with time events listed down.
Accordingly, we can look at the solution option.
Regards,
Vivek