ending number

albertldee

Board Regular
Joined
Aug 22, 2002
Messages
65
hi everyone i just receive a spread sheet to seperate number
cell D has number like this 245-15 or 247/587-8
is there a formula that would let me seperate the number that come after - to cell C
example cell D4 has 256-16 i want to add the any number after the - like 16 into cell C4

thanks
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
<ul>[*]=RIGHT(D4,LEN(D4)-FIND("-",D4))[/list]{Edit}(a)Too slow on the draw! Hiya Oaktree. (b)Oak's use of the "+0" at the end results in the cell's results being a number whereas my formula results in the output being treated as text. Use whichever fits your needs.{/edit}
 
Upvote 0
albertldee said:
hi everyone i just receive a spread sheet to seperate number
cell D has number like this 245-15 or 247/587-8
is there a formula that would let me seperate the number that come after - to cell C
example cell D4 has 256-16 i want to add the any number after the - like 16 into cell C4

thanks

=REPLACE(D4,1,SEARCH("-",D4),"")+0
 
Upvote 0

Forum statistics

Threads
1,225,477
Messages
6,185,212
Members
453,283
Latest member
Shortm88

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