Google Sheets Help - Split and sum of values in a single cell after a character

junspam

New Member
Joined
Jan 27, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Newbie to Sheets/Excel in general here. I've been trying to look up the answer to my question with no luck so far. Maybe because I'm not sure what to look up exactly.

On to the problem - I have multiple cells with a bunch of data in a single cell, example below:

1871$20 9575$6 7479$5 4028$4 9278$3 8109$3 7268$4 1675$3 7923$3 2815$5 7679$4 3487$4 6759$4 7365$4 7991$3

What I've been trying to do is add the values after the '$' in a single formula.

What I've been doing so far is using split in the next cell, i.e. B1
=SPLIT(A1," ")
followed by an array formula to replace the first 5 characters for each of the values
=ARRAYFORMULA(--REPLACE(B1:P1,1,5,""))
followed by sum
=SUM(B2:P2)

But that involves me repeating that process every time. Is there a way to do it all in a single cell with one formula?
 

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.
Hi & welcome to MrExcel.
How about like
Excel Formula:
sum(ARRAYFORMULA(--replace(SPLIT(A2," "),1,5,"")))
 
Upvote 0

Forum statistics

Threads
1,223,980
Messages
6,175,763
Members
452,668
Latest member
mrider123

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