=SUM(SUMIFS(AC!$N$5:$N$1918,AC!$D$5:$D$1918,"1712",AC!$F$5:$F$1918,"M",AC!$H$5:$H$1918,{"EXP","MED","MISC"}))+SUM(SUMIFS(AC!$N$5:$N$1918,AC!$D$5:$D$1918,"1712",AC!$F$5:$F$1918,"MV",AC!$H$5:$H$1918,{"EXP","MED","MISC"}))*0.5+SUM(SUMIFS(AC!$N$5:$N$1918,AC!$D$5:$D$1918,"1712",AC!$F$5:$F$1918,"MR1",AC!$H$5:$H$1918,{"EXP","MED","MISC"}))+785
Solved by V. B. in 26 mins