Multipling 2 columns

T

Tami

hi.
How can i multiply two columns and put result in one cell?In the example
below i would want $110 to appear in cell A1
example

units ticket
2 20.00
4 10.00
3 10.00
 
T

Tami

ok, now i have another question...assume i want to do that sumproduct but
only IF the class is 412...so the answer would be $70...

units ticket class
2 20.00 412
4 10.00 488
3 10.00 412
 
T

Teethless mama

=SUMPRODUCT(--(C2:C4=412),A2:A4*B2:B4)


Tami said:
ok, now i have another question...assume i want to do that sumproduct but
only IF the class is 412...so the answer would be $70...

units ticket class
2 20.00 412
4 10.00 488
3 10.00 412
 
T

Tami

ok...one more question...i need a formula to do the last column. I need to
do say whhich weeks the units are arriving but only if its material units
(>25)
So i need a formula to ask if w1 >25 units and w2>25 units and wk3>25 units
etc. then return a value that says the weeks and separate with a comma to
make easier to read...does that make sense?


Wk1 Wk2 Wk3 Wk4 Wk5 Weeks
style A 200 400 300 1,3,5
Style B 200 200 2,4
Style B 600 3


I have a table that tracks receipts by week...

December
Wk 1
 
M

Max

Assuming the col headers in B1:F1 are amended
to be just numbers, eg: "1" instead of "Wk1" (drop the "Wk")
you could then place this expression in G2:
=SUBSTITUTE(TRIM(IF(B2>25,B$1," ")&IF(C2>25,C$1," ")&IF(D2>25,D$1,"
")&IF(E2>25,E$1," ")&IF(F2>25,F$1," "))," ",",")
and copy G2 down to return exactly the results that you seek

Success? Celebrate it, click the YES button below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:300 Subscribers:70
xdemechanik
 

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