How to sum hours if they are after certain hour
Hi, I'm tracking my working hours but i've run into this problem.
Every hour worked after 10PM is worth 20.63% more per hour. What I'm trying to do is to use a conditional so Numbers will count all my hours worked after 10PM and add them up to multiply by the value, so I can then add it to my base salary.
Is there a way to do this or should I just keep adding my hours by myself and calculating the product every time?
Here is an example where I calculated my night hours (hours worked after 10PM) and then did PRODUCT(week D10, values B2) and added it up to the base pay on Total pay.
iPhone 11, iOS 14