Multiplying numbers separated by commas in multiple cells

mikeloz11

New Member
Joined
Apr 22, 2024
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Picture1.png


the formula below gives me the total in D1
in E1 i need to get the meters squared by multiplying each number individually by the qty in A1
is this possible?

=SUM(VALUE(CELLSPLIT(B1,",")))+SUM(VALUE(CELLSPLIT(C1,",")))
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
in E1 i need to get the meters squared by multiplying each number individually by the qty in A1
This doesn't make sense to me. Can you show the manual calculation?
 
Upvote 0
How about
Fluff.xlsm
ABCDE
1
21.273, .550, 1.253.048, 2.356, 5.88613.363
Data
Cell Formulas
RangeFormula
E2E2=SUM(TEXTSPLIT(TEXTJOIN(",",,B2,C2),",")*A2)
 
Upvote 0
Same, but with 1 less function
=SUM(--TEXTSPLIT(B2&","&C2,","))*A2
 
Upvote 0
This doesn't make sense to me. Can you show the manual calculation?
B and C should total 9.49 m2
.273x3.048 = .83 m2
.550x2.356 = 1.30 m2
1.250x5.886 = 7.36 m2
for a grand total of 9.49 m2
 
Upvote 0
Try:
Book1
ABCDE
1
21.273, .550, 1.253.048, 2.356, 5.8869.485404
Sheet1
Cell Formulas
RangeFormula
E2E2=SUMPRODUCT(--TEXTSPLIT(B2,","),--TEXTSPLIT(C2,","))
 
Upvote 0

Forum statistics

Threads
1,215,523
Messages
6,125,317
Members
449,218
Latest member
Excel Master

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