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.
 
TextSplit.xlsm
GH
1
2
35/140/8
410/240/8
525/5
6
fc
Cell Formulas
RangeFormula
H3H3=SUM(--LEFT(G3:G5,FIND("/",G3:G5)-1))&"/"&SUM(--RIGHT(G3:G5,1))
H4H4=SUM(--TEXTBEFORE(G3:G5,"/"))&"/"&SUM(--TEXTAFTER(G3:G5,"/"))
 
Upvote 0

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Thanks for the help Jeff and Scott, much appreciated!
Hello again. I just realized the formula I'm using doesn't account for filtering, that is, when I filter the data my formula doesn't update.

The formula I'm using is SUM(--TEXTBEFORE(N2:N6892,"/",,,,0))&" / "&ROUNDUP(SUM(--TEXTAFTER(N2:N6892,"/",,,,0)),0).

I've tried replaced the SUMs with SUBTOTAL

Can you help?
 
Upvote 0
Please try this. Create another helper column that detects if each row is visible or not. Use the formulas below

Book11
GHIJ
2DateVisible40/8
35/11
410/21
525/51
Sheet1
Cell Formulas
RangeFormula
J2J2=LET(FltrRng,FILTER(G3:G5,H3:H5=1),SUM(--TEXTBEFORE(FltrRng,"/"))&"/"&SUM(--TEXTAFTER(FltrRng,"/")))
H3:H5H3=SUBTOTAL(103,G3)
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,954
Members
449,095
Latest member
nmaske

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