I am running in to an error on a metric sheet i have created which has me stumped.
On some cells it is working and on others I am getting #INCORRECT ARGUMENT SET
I have literally just dragged the formula. and if I change my $[SOURCE FROM]$2 column to another branch, different cells in the bottom snip show #INCORRECT ARGUMENT SET, for instance in the snip it shows row 3 as incorrect but if i change the branch row3 is as a value but row4 is incorrect....
=IFERROR(COUNTIFS({Nature}, [Primary Column]3, {Branch}, $[SOURCE FROM]$2, {Injury Date}, IF(AND(MONTH(@cell) = $[Last Month]$1, YEAR(@cell) = YEAR([First Day of Last Month - Full Date]1)))), 0)