Hi,
I propose an adaptation of the JeteMc`s solution, that takes into account holidays and weekends
for helper column (C) use this
Formula:
=IFERROR(IF(NETWORKDAYS(B1,B2,$H$2:$H$3)>2,0,-1),0)
where H2: H3 is the list of holidays
For List of unique names
use this array formula (in E2 and drag down)
Formula:
=IFERROR(INDEX($A$2:$A$13,MATCH(0,COUNTIF($E$1:E1,$A$2:$A$13),0)),"")
and for "Count of occurrences" column
Formula:
=IF(E2="","",SUMIF($A$2:$A$13,E2;$C$2:$C$13)+COUNTIF($A$2:$A$13,E2))
see attached
Bookmarks