SyntaxFix
Write A Post
Hire A Developer
Questions
If you want to insert this formula =SUMIFS(B2:B10,A2:A10,F2) into cell G2, here is how I did it.
=SUMIFS(B2:B10,A2:A10,F2)
Range("G2")="=sumifs(B2:B10,A2:A10," & _ "F2)"
To split a line of code, add an ampersand, space and underscore.