Sum of cells where the same cell contains both text and a formula

Coastie

New Member
Joined
May 25, 2002
Messages
23
I have retired and now use google sheets instead of excel, so I hope that's not the cardinal sin of MrExcel.

I am trying to add cells that have a text label and a value, Example.

Code:
Cell A1 = 2
Cell A2 = 4
Cell A3 = 6
Cell A4 = 8

Cell B2 = ="One  "&text(A1+A2, 0)
Cell B3 = ="Two  "&text(A2+A3, 0)
Cell B4 = ="Three "&text(A3+A4, 0)

Cells B2-B4 work fine, but I would like to add those cells together, I was hoping something like this would work, but it does not.
Code:
="Total  "&text(SUM(B2:B4), 0)

1677621321458.png


Looking for a total of 30.
Is there a simple way to do that?
 
How about
Excel Formula:
="Total " &sum(ArrayFormula(SPLIT(B2:B4," ")))
 
Upvote 0
Solution

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,216,110
Messages
6,128,896
Members
449,477
Latest member
panjongshing

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