Hi All,
So I've got this formula that automatically breaks hours down into respective columns based on dates:
=IFERROR(IF(AND(VALUE(YEAR($[MDR Start]@row) + "" + IF(MONTH($[MDR Start]@row) < 10, "0") + MONTH($[MDR Start]@row)) <= [Jan-21]$1, VALUE(YEAR($Finish@row) + "" + IF(MONTH($Finish@row) < 10, "0") + MONTH($Finish@row)) >= [Jan-21]$1), $[Total Budgeted]@row / COUNTIFS($[Jan-21]$1:$[Dec-28]$1, AND(@cell >= VALUE(YEAR($[MDR Start]@row) + "" + IF(MONTH($[MDR Start]@row) < 10, "0") + MONTH($[MDR Start]@row)), @cell <= VALUE(YEAR($Finish@row) + "" + IF(MONTH($Finish@row) < 10, "0") + MONTH($Finish@row))))), "")
It otherwise works absolute magic in my other sheets but it does not want to work in this sheet and I don't know why. It really should be showing values that are in the "Average Monthly Hours" but instead, it's showing values that are absolutely random. See below:
In my other sheets, even if I don't have columns for all the previous years, the formula is able to do the breakdown and populate cells correctly, but I can't figure why it doesn't want to work here. Can anybody please help?
I've tried even renaming all columns to match those where the formula works, only adjusted the [Mon-YY] cells as per this sheet and it still doesn't go.
Thanks in advance.