G'day All - and thank you in advance for any help.
I'm stuck putting together a formula, which is supposed to sum particular numbers from a column, based on 3 conditions.
It's a table to track on-call hours and my goal with the formula is to count the hours into monthly summary, based on the date indication and also whether the on-call duty happened on a weekend/holiday.
All data is being entered manually by the reporting individual
Column 1 is the date
Column 2 is the name
Column 3 are the hours on duty (20% compensation, no matter whether weekday/weekend/holiday) - I was able to do this with a SUMIF, see H3, H8, etc.
Column 4 are the hours where action has been taken during duty (150% compensation if on weekday, so no holiday/weekend indicator is yes)
Column 5 is the indicator of weekend/holiday (200% compensation is on holiday/weekend, so any of those indicators are yes)
I wasn't able to solve the SUM of column 4. I started based on the same method as by column 3, so checking whether date is within a month, but then I wasn't able to take the column 5 indicator into consideration from the whole column, only for a single cell.
I attached the sheet, marked red the cells where I would like to have the sums for active hours 150% and 200% depending on the holiday/weekend indicator, and again, really appreciate any help.
Bookmarks