Hi everyone,
Would anyone be kind and help me figure out how to ignore blanks in this array?
=AVERAGE(IF(MONTH('Employee Data'!$D$3:$D$1935)&YEAR('Employee Data'!$D$3:$D$1935)=MONTH(S15)&YEAR(S15),'Employee Data'!$Z$3:$Z$1935,FALSE))
This works great if every cell in column D has a date, but when I leave something blank it fubars my calc to #Value error.
Any help would be appreciated.
Thanks in advance,
Tom
Would anyone be kind and help me figure out how to ignore blanks in this array?
=AVERAGE(IF(MONTH('Employee Data'!$D$3:$D$1935)&YEAR('Employee Data'!$D$3:$D$1935)=MONTH(S15)&YEAR(S15),'Employee Data'!$Z$3:$Z$1935,FALSE))
This works great if every cell in column D has a date, but when I leave something blank it fubars my calc to #Value error.
Any help would be appreciated.
Thanks in advance,
Tom