Modified formula provided by Xlbiznes:

=IF(ISERROR(+G6/((60*C6)/45)),0,+G6/((60*C6)/45))