
Originally Posted by
daddylonglegs
Hello Scott, try this setup....
In T2 specify week number and in T3 name and then in T4 use this formula
=INDEX(E$2:E$1000,MODE(IF(R$2:R$1000=T$2&T$3,IF(E$2:E$1000<>"",IF(COUNTIF(T$3:T3,E$2:E$1000)=0, MATCH(E$2:E$1000,E$2:E$1000,0))))))
confirmed with CTRL+SHIFT+ENTER and copied down to T6 to give the top three error reasons
For a count of each use this formula in U4 copied down to U6
=SUMPRODUCT((E$2:E$1000=T4)*(R$2:R$1000=T$2&T$3))
Assumes 1000 rows of data, extend as required
Bookmarks