I am having 2019 version. Sometimes with the help of online I use 365 version for some problems.
Regarding formulas used.
In A17
=A3:A6
In B17 copied upto M20
Formula:
=LET(st,INDEX($C$3:$C$6,ROWS($A$17:$A17)),nd,INDEX($D$3:$D$6,ROWS($A$17:$A17)),rh,INDEX($B$3:$B$6,ROWS($A$17:$A17)),sta,MEDIAN(st,nd,B$14),nda,MEDIAN(st,nd,B$15),ds,IF(nda>sta,NETWORKDAYS(sta,nda,$H$2:$H$12),0),ds*rh*8)
In O17
=UNIQUE(A17#)
In P17 copie down to P20
Formula:
=IF($O17="","",BYCOL($B$17:$M$20,LAMBDA(x,SUMIF($A$17:$A$20,$O17,x))))
Bookmarks