Need to Multiply with 2 criteria

asksign

Board Regular
Joined
Mar 22, 2016
Messages
62
Hi,

I need to multiply A1 x A2, B1 x B2, C1 x C2 & D1 x D2 and so on, but the answer should come as shown below.


Expected Answer
ABCDTotal Weight in gms
11gm2gm3gm4gm
2122323
325 116
42 2528

<colgroup><col span="5"><col></colgroup><tbody>
</tbody>

Can anyone help me in this.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Try
Code:
=LEFT(A1,1)*A2+LEFT(B1,1)*B2+LEFT(C1,1)*C2+LEFT(D1,1)*D2

but it would be much easier to remove the gms from the cells and insert e nemw title row called gms !!
 
Upvote 0
I agree with Michael that it would be simpler if you could remove the "gm" from the top row. Then you could use this, copied down.

Excel Workbook
ABCDE
11234
2122323
325116
422528
Multiply 1




However, even with the "gm" text in that top row, try this, copied down.

Excel Workbook
ABCDE
11gm2gm3gm4gm
2122323
325116
422528
Multiply 2



BTW Michael, yours would fail if something like 12gm was possible in the top row. It also needs some $ signs if it is to be copied to the other rows.
 
Last edited:
Upvote 0
Thanks Peter, was aware of the 12gm...(y)
 
Upvote 0

Forum statistics

Threads
1,216,248
Messages
6,129,702
Members
449,528
Latest member
Paula03

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top