Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default Multipling 2 columns

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

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Multipling 2 columns

=SUMPRODUCT(B2:B4,C2:C4)


"Tami" wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default Multipling 2 columns

Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!
Have a great day!

"Teethless mama" wrote:

=SUMPRODUCT(B2:B4,C2:C4)


"Tami" wrote:

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

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Multipling 2 columns

You're Welcome!

"Tami" wrote:

Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!
Have a great day!

"Teethless mama" wrote:

=SUMPRODUCT(B2:B4,C2:C4)


"Tami" wrote:

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

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default Multipling 2 columns

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

"Teethless mama" wrote:

You're Welcome!

"Tami" wrote:

Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!
Have a great day!

"Teethless mama" wrote:

=SUMPRODUCT(B2:B4,C2:C4)


"Tami" wrote:

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



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Multipling 2 columns

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


"Tami" wrote:

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

"Teethless mama" wrote:

You're Welcome!

"Tami" wrote:

Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!
Have a great day!

"Teethless mama" wrote:

=SUMPRODUCT(B2:B4,C2:C4)


"Tami" wrote:

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

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default Multipling 2 columns

Amazing...that worked perfectly.
thx.

"Teethless mama" wrote:

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


"Tami" wrote:

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

"Teethless mama" wrote:

You're Welcome!

"Tami" wrote:

Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!
Have a great day!

"Teethless mama" wrote:

=SUMPRODUCT(B2:B4,C2:C4)


"Tami" wrote:

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

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Multipling 2 columns

You're Welccome!

"Tami" wrote:

Amazing...that worked perfectly.
thx.

"Teethless mama" wrote:

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


"Tami" wrote:

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

"Teethless mama" wrote:

You're Welcome!

"Tami" wrote:

Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!
Have a great day!

"Teethless mama" wrote:

=SUMPRODUCT(B2:B4,C2:C4)


"Tami" wrote:

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

  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default Multipling 2 columns

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 w225 units and wk325 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


"Teethless mama" wrote:

You're Welccome!

"Tami" wrote:

Amazing...that worked perfectly.
thx.

"Teethless mama" wrote:

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


"Tami" wrote:

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

"Teethless mama" wrote:

You're Welcome!

"Tami" wrote:

Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!
Have a great day!

"Teethless mama" wrote:

=SUMPRODUCT(B2:B4,C2:C4)


"Tami" wrote:

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

  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Multipling 2 columns

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(B225,B$1," ")&IF(C225,C$1," ")&IF(D225,D$1,"
")&IF(E225,E$1," ")&IF(F225,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
---
"Tami" wrote:
...i need a formula to do the last column. I need to
do say which weeks the units are arriving but only if its material units
(25)
So i need a formula to ask if w1 25 units and w225 units and wk325 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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
changing the multipling factor on large spreadsheet Office Jnr Excel Discussion (Misc queries) 17 November 12th 06 05:21 PM
to convert columns to rows having mulit independent group columns Quacy Excel Worksheet Functions 1 August 22nd 06 11:20 PM
Combine multiple columns into two long columns, Repeating rows in first column [email protected] Excel Discussion (Misc queries) 2 July 31st 06 09:45 PM
Combine multiple columns into two long columns, Repeating rows in first column [email protected] Excel Discussion (Misc queries) 0 July 31st 06 05:07 PM
Pivot Table Creating New Columns that Subtract Two Existing Columns den4673 Excel Discussion (Misc queries) 3 December 17th 04 01:31 PM


All times are GMT +1. The time now is 07:21 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"