I have a timesheet that I'm using formulas to calculate the different categories of time using three columns - Date, OOH (1.5x) and OOH (2x). The first formula below is the original:
=SUMIFS([OOH (1.5x)]:[OOH (1.5x)], Date:Date, AND(IFERROR(MONTH(@cell), 0) = 8)) + SUMIFS([OOH (2x)]:[OOH (2x)], Date:Date, AND(IFERROR(MONTH(@cell), 0) = 8))
I have now changed it to automatically update using the below formula which works in two timesheets but when I try it in another timesheet it brings up #nested criteria. The timesheets are identical so there is no reason why it should not work. What am I missing?
=SUMIFS([OOH (1.5x)]:[OOH (1.5x)], Date:Date, AND(IFERROR(MONTH(@cell), 0) = MONTH(TODAY()), IFERROR(YEAR(@cell), 0) = YEAR(TODAY())) + SUMIFS([OOH (2x)]:[OOH (2x)], Date:Date, AND(IFERROR(MONTH(@cell), 0) = MONTH(TODAY()), IFERROR(YEAR(@cell), 0) = YEAR(TODAY()))))