Could you please help me on the following issue. Thank you in advance.
I need to insert a SUMIF formula in a range using vba. I could insert a SUM formula in the range. Please see below;
ActiveSheet.Range("G" & LastrowAS).Formula = "=SUM(G3 :GG)"
But when I try to have SUMIF, I face an error.
ActiveSheet.Range("G" & LastrowAS).Formula = "=SUMIFS(G6:GG;G6:GG;"<>#VALUE!"; G6:GG; "<>#N/A")"