Hi,
can some one help me to make SUMPRODUCT formula with dynamic range, as below.
Actual formula
With Range("c2:c" & LastRow) .Formula = "=SUMPRODUCT(--(MONTH(sales!$B$2:$B$300)=$A2),sales!$K$2:$K$300)"
.Value2 = .Value2
End With
Required like this
With Range("c2:c" &...