I have this macro
LastRow = Cells(Rows.Count, "E").End(xlUp).Row
Range("F2").FormulaArray = "=IF(C2=""Job complete"",(D2+E2)-SUM(VLOOKUP(B2&"" - Job assigned/passed"",$A$1:$E$62,{4;5},0)),"""")" 'Insert Array
Range("F2").AutoFill Destination:=Range("F2:F" & LastRow), Type:=xlFillDefault...