I had asked this question previously and got a response that worked. However, as of this morning, the solution no longer works and I cant figure out why.
Looking for help with a formula that can help tally employees but only count the occurrence of a name once. I do not want a double count if an employee works multiple positions in the same day(Emily Anne of ABC Company in the example spreadsheet). Additionally, I do not want an employee counted if they didn't work that day (ex. Dave Smith with 0 hours)
I used the formula provided by Mayukh Bhattacharya:
=SUMPRODUCT(IFERROR((("FORWARD"=$A3:$A$28)*($M$3:$M$28>0))/
COUNTIFS($A3:$A$28,$A3:$A$28,$I$3:$I$28,$I$3:$I$28,$M$3:$M$28,">0"),0))
However now instead of producing the correct count, the formula in J1 now produces 0.

I don't see any reason where the formula is not working, even when changing the word
"FORWARD"toABC CompanyOr, Using old formula given.
Or, Using dynamic array formulas:
Reference to last post: Solutions in last post
Note: If using older version of excel then make sure to hit the CTRL+SHIFT+ENTER while exiting the edit mode.