how to make below formula to work in VBA
lastrowA and lastrowCheck is the range i want to use
Worksheets("Investigate").Range("F & lastrowA,F" & lastrowCheck).Formula = "=SUMIFS(L$1:L$12,F$1:F$12,A&lastrowA,G$1:G$12,B&lastrowA,E$1:E$12,C&lastrowA,K$1:K$12,D&lastrowA)"