Formula to separate numbers

sobrien1234

Board Regular
Joined
May 10, 2016
Messages
175
Office Version
  1. 365
Platform
  1. Windows
In column A I have number codes as follows:
1234/8
45673/18
4672/294

In column B I want formula which will isolate and provide me with the number on the right of the "/" so the answers in column B would be
8
18
294

I know I have use text to columns but need a formula that saves me doing that every time

thanks

Seamus

:confused:
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
try

=TRIM(RIGHT(SUBSTITUTE(A1,"",REPT(" ",500)),500))
 
Upvote 0
Hi,

Use B1 or C1 formula if you want results converted to Real numbers.
Use D1 or E1 formula if you want results as Text ( in case there are leading zeros that you want to retain ).


Book1
ABCDE
11234/88888
245673/1818181818
34672/294294294294294
4123/045645645604560456
Sheet629
Cell Formulas
RangeFormula
B1=MID(A1,FIND("/",A1)+1,99)+0
C1=RIGHT(SUBSTITUTE(A1,"/",REPT(" ",99)),99)+0
D1=MID(A1,FIND("/",A1)+1,99)
E1=TRIM(RIGHT(SUBSTITUTE(A1,"/",REPT(" ",99)),99))
 
Upvote 0

Forum statistics

Threads
1,214,547
Messages
6,120,139
Members
448,948
Latest member
spamiki

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