Sum of RangeA by RangeB

S

Sara

Hi

Table example of my problem:

|A |B |C |D |E
1 |Price |10 |20 |30
2 |Qty |1 |2 |3 |=SUM(C3:E3*C4:E4)

In E2, I get a "#VALUE!" error, however when I click in
the function table (the tick box next to the address bar)
it shows my answer of 140.

Does anyone know what the problem is or how it can be
fixed?

I have Excel 2000 (SR1). My friend has done the same
table, but has got the answer showing in E2 and I don't
know what ver. of Excel he has. I am working with hundreds
of cells, so it's not as easy to dismiss :(

Please help

TIA
Sara
 
K

Kevin Stecyk

Sara,

Very close. Just go "control shift enter" when you enter your equation.
You want an array entered equation and hitting those three keys will create
the equation for you.

Regards,
Kevin
 
K

Kevin Stecyk

Sara,

=SUM(B1:D1*B2:D2)

Then control shift enter.

AFTERWARDS, it should look like

{=SUM(B1:D1*B2:D2)}

But don't enter the funny brackets. Excel places them automatically after
you hit control shift enter.

Regards,
Kevin
 
H

Harlan Grove

sara said:
Sorry, that formula is supposed to be:
=SUM(B1:D1*B2:D2)
....

You should consider using SUMPRODUCT(B1:D1,B2:D2) instead. For something
like this SUMPRODUCT recalculates faster than SUM(B1:D1*B2:D2), and it
doesn't need to be entered as an array formula.
 

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