Multiplying numbers separated by commas in multiple cells

mikeloz11

New Member
Joined
Apr 22, 2024
Messages
6
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

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
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,223,955
Messages
6,175,605
Members
452,660
Latest member
Zatman

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