You need to understand the way excel treats time. One day = 1 in excel so 8 hours, for instance, is 1/3. You need to convert the time value e.g. 8:00 to a decimal value 8 which you can do by multiplying by 24, so you can calculate your wages with

=E4*24*wage