Multiplying A Range

G

Guest

Is there a function, like

=Fact(10)

Which multiplies all the values in a particular range?

=FUNCTIONNAME(A1:A10)

if not, can you suggest a way to do this in VBA?

Dan Walters
 
P

Paul B

Dan, if you want to multiply by 10, put 10 in a cell, copy the cell, select
A1:A10, edit, paste special, check multiple, OK

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003
 
G

Guest

Assume I have from A1:A10 these values;

1,3,4,5,6,7,4,2,2,6

If I multiply these together, i get 241920

If I sum(a1:a10)*10 then it gives me 400.

Quite a different answer.

Thankyou foryour help allthe same
 
B

Bob Phillips

MsgBox application.fact(10)


--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)
 
D

Dana DeLouis

...Which multiplies all the values in a particular range?

Is "Product" the function you are looking for?

=PRODUCT(A1:A10)

241,920
 

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