I have a column with the information like the following: 20016ConsumerHD
I'm trying to separate the number (20016) from the name (ConsumerHD), is there any way to do this? The number is always 5 characters long, maybe pull the first 5 characters?
I have a column with the information like the following: 20016ConsumerHD
I'm trying to separate the number (20016) from the name (ConsumerHD), is there any way to do this? The number is always 5 characters long, maybe pull the first 5 characters?
Try this:Originally Posted by rofl
Suppose your data is in A1
B1
=Left(A1,5)
Enter
Hope this helps.
Try:
=Left(A1,5)+0 to get the number
and =Mid(A1,6,255) to get the text
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Wow, thanks guys! I wish I knew what to search for in the excel help so I can find these commands myself... I need a help file for the help file.
Text To Columns is always a helpful item for me. You can find it under the Data option in the main toolbar. This gives a more visual way of doing the same thing.
This function will not work for me (I am using a date). I referenced a cell with a date AND a time and I only need the date (the first 12 characters). That formula is giving me a weird output. =LEFT('Qualtrics Output'!I3,12)+0 changes nothing and =LEFT('Qualtrics Output'!I3,12) gives me 41239.525601. The referenced cell is 11/26/2012 12:36.
its a matter of formatting.
I think people forget the word "THANK YOU!!!!" Do you still know it???
There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "
Regards,
Vladimir
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks