How do I set up a weighted formula in Excel?

I

ib1qb

Can someone help me please? I need to do a weighted formula in Excel 2007,
where the total of the numbers equals 90% of one number and 10% of another
number. Is it possible to do this?
 
R

Ron Rosenfeld

Can someone help me please? I need to do a weighted formula in Excel 2007,
where the total of the numbers equals 90% of one number and 10% of another
number. Is it possible to do this?

=sumproduct(numbers, weights)

e.g.

=sumproduct(a1:a2,{0.9,0.1})

--ron
 
B

Billy Liddel

Sa g1 to j7 contains:

Units Qty Cost Sales
Item 1 90 10 900
Item 2 10 20 200
Totals 100 1100
Wgt Cost1 11
Wgt Cost2 11

The formula in I6 is =(0.9*I2)+(0.1*I3) [q1 * p1]+ [q2 * p2]

We can use this because you already told us that the qtys were in the
proportion 90% and 10%

If you had not given us this information we would have to use this formula
in I7

=(H2*I2+H3*I3)/(H2+H3)

(p*q+p1*q1)/(q+q1)

HTH
Peter
 

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