Hello

I have on situation.
one worker works 09:00 pm to 01:00 am
other 05:00 pm to 04:00 am
i have to pay about different time values:
06:00 pm to 10:00 pm 10% more than 50$
10:00 pm to 06:00 am 20% more than 50$

I want that excel calculate this if I give start time and end time

I hope You understand what I mean, because my english is not wery good.

Help please