Summing a column with numbers containing /

Captain Lake

New Member
Joined
Jan 11, 2024
Messages
7
Office Version
  1. 365
Platform
  1. Windows
I've a spreadsheet with data in 1 column listing internet download/upload speeds. So for example,

5/1
10/2
25/5

I'd like to sum the numbers in front of the /, and the numbers after the /, and keeping the same form, put the sum in one cell. In this example, it would sum to 40/8.

Is this possible?

Thanks for the help.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Will this work?

Book5
GHIJ
35/1408
410/2
525/5
Sheet1
Cell Formulas
RangeFormula
I3I3=SUM(VALUE(MID(G3:G5,1,SEARCH("/",G3:G5)-1)))
J3J3=SUM(VALUE(MID(G3:G5,SEARCH("/",G3:G5)+1,100)))
 
Upvote 0
To combine those from the last post
=SUM(VALUE(MID(G3:G5,1,SEARCH("/",G3:G5)-1)))&"/"&SUM(VALUE(MID(G3:G5,SEARCH("/",G3:G5)+1,100)))
 
Upvote 0
=SUM(--TEXTBEFORE(A1:A3,"/"))&"/"&SUM(--TEXTAFTER(A1:A3,"/"))
 
Upvote 0
Solution
Thanks Jeff, yes, that works great!

I actually concatenated your 2 formulas into this =SUM(VALUE(MID(G3:G5,1,SEARCH("/",G3:G5)-1)))&"/"&SUM(VALUE(MID(G3:G5,SEARCH("/",G3:G5)+1,100))) to put it all in 1 cell

Double thumbs up to the thought in your signature, if only more people held this belief...
 
Upvote 0
Scott, your formula works well also, however, some of my cells in the range are empty. Can we ignore them in the sum?
 
Upvote 0
=SUM(--TEXTBEFORE(A1:A3,"/",,,,0))&"/"&SUM(--TEXTAFTER(A1:A3,"/",,,,0))
 
Upvote 0
I didn't realize that. SO then we could take the VALUE out
=SUM(--(MID(G3:G5,1,SEARCH("/",G3:G5)-1)))&"/"&SUM(--(MID(G3:G5,SEARCH("/",G3:G5)+1,100)))
 
Upvote 0

Forum statistics

Threads
1,215,077
Messages
6,122,992
Members
449,094
Latest member
masterms

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