Extracting Numbers...

amt0803

New Member
Joined
Jul 23, 2005
Messages
33
I have a lot of cells with data like this....

110-55
94-107
89-123

What is the most efficient way to simply knock off the - and everything after it? I want those cells to be:

110
94
89

I appreciate your help.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi

One way would be to make sure there is a blank column next to the data, then do a data, text to columns using "-" as the delimiter. This will leave the required data in the current column and put the remaining in the spare column which can then be deleted / cleared as required.


Tony
 
Upvote 0

Forum statistics

Threads
1,222,440
Messages
6,166,045
Members
452,009
Latest member
oishi

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