Text To Number HELP!

Cranford803

New Member
Joined
Jan 21, 2011
Messages
20
I have a cell which reads '100 - Dave Whitman'. The 100 is the depatment number that I need to extract. I used LEFT(Cell, 3) to extrat '100' from the cell. I now have a new cell with 100 in it. When i use that cell in formulas, it does not work because it is not a number. I tried changing the format to a number with no decimals. It still does not work. The only way it work is if I manually enter in 100 into that cell. I have a giant list that i need to convert to numbers. How do I do this so they are usable in formulas? (Using Excel 07)

Thanks for the help!!
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Welcome to the board...

Try

=LEFT(Cell, 3)+0


Also, if the number may be more or less than 3 characters, try

=LEFT(Cell, FIND(" ", Cell)-1)+0
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,861
Members
449,052
Latest member
Fuddy_Duddy

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