How to use SUMPRODUCT in VBA (further query)

G

Guest

Could Madiya or Toppers advise as to how and where the following code by
Toppers should be placed. What is meant by ("d1").Thank you.

Range("d1") =
Evaluate("SUMPRODUCT(--(ALVXXL01!$B$2:$B$65536=A5),--(ALVXXL01!$K$2:$K$65536=""MMV3""),--(ALVXXL01!$P$2:$P$65536>0),--(ALVXXL01!$P$2:$P$65536))")
 
B

Bob Phillips

It should be placed in a macro and it will then work when you run the macro.

D1 refers to the cell that the value resulting from the formula will be
placed within.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 
G

Guest

Thank you Bob for the explanation.
--
Robert


Bob Phillips said:
It should be placed in a macro and it will then work when you run the macro.

D1 refers to the cell that the value resulting from the formula will be
placed within.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top