Does Coefficient work with both Google Sheets and Excel?
What is Coefficient's AI Sheets Assistant?
What is Coefficient?
Hi all, I am currently failing to wrap my head around why this is not working. In Short, I have a Google Sheets file in which colleagues can register that they will be taking the 24/7 emergency phone with them, which means they get paid an x amount on weekdays and an y amount on weekends. That part all works, but it doesn't work when trying to use 'sumifs' to make a overview for who gets paid what per month. More specifically, I can't make the sumifs work when referencing to a cell that contains the first and last dates' of each month.
My sumif comes down to: s=sumifs(TheSchedule,TheScheduleNames,Specific Colleague,ScheduleDate,">=44927",ScheduleDate,"<=Backend!N11")")"
I want the formula to check the dates in the schedule for the dates that fall in between for instance (44927 and 44957 which is January 2023). Before, I typed these numbers for those dates in the formula, but I want to just reference the cell in the backend sheet which contains the start and end value for each month. However, I can't figure out how to type out the condition that it has to be >= Backend!N11 , it works when typing the numbers, but it doesn't when I use the cell reference.
How do I add into my sumif, the condition of >= (cell reference A) and <= (cell reference B)
I hope I explained it clear enough, as it is a rather complex situation in my eyes. Thanks in advance for reading and helping out!
Pic 1: Year 2022 showing how it is supposed to work, here i typed the codes for the dates manually
Pic 2: The list of codes per month for start and end date (in the backend sheet)
Pic 3: This is the sheet I am making for 2023, you can see the formula that I want to work, in the red square the part that I do not understand how to make it work
I have the equation =(SUMIF(B1:1,">=2",B5:5))
It successfully sums all the values in row 5 when the corresponding values in row 1 are greater than or equal to 2.
My question is, how do I make it so it will sum all the values in row 5 based on a variable number instead of just "2"? What I want would look like =(SUMIF(B1:1,">=A1", B5:5)) [I know this doesn't work, but hopefully it will get my goal across]
I want to sum all the values in row 5 when the corresponding number in row 1 is >= the value input into cell A1.