Good days, can anyone help me on the sumproduct in vba?
below is the code i wrote but not working, and return #VALUE!:
Thanks for help and assist.
below is the code i wrote but not working, and return #VALUE!:
Code:
Set rng01 = Range("K4")
p = Cells(1, 1).Value
IC01 = Range("A12").CurrentRegion.Rows.count
For count01 = 12 To 300
Set rng02 = Range(Cells(p, count01), Cells(IC01, count01))
Cells(1, count01) = Application.SumProduct(rng01, rng02)
Next count01
Thanks for help and assist.