Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / October 2007

Tip: Looking for answers? Try searching our database.

Excel - cut out first character of string

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ultsun1 - 02 Oct 2007 19:44 GMT
Greetings,

I would like to cut the first character in each cell of column B.

-Example the cell may contain 6008, I would like to change that to
008. Also, cell may contain G302; this should be just 302.

Is there a function or macro that i can use to do this?

I have found a useful function:  =RIGHT(B2,LEN(B2)-1), however it
requires a circular reference to work.

I also did this: =RIGHT(6004,LEN(6004)-1) which doesn't require a
circular reference, however i need to use this function throughout 10
spreadsheets.

Can someone help me with this function or module?

Thanks,

ultsun1
Ron Coderre - 02 Oct 2007 19:52 GMT
If you actually want to remove the 1st character from the cells...
try this:

Select the single-column range of cells.
From the Excel Main Menu:
<Data><Text-to-Columns>
...Check: Fixed width
...Click [Next]
...Click after the 1st char to insert a break point
...Click [Next]
Click the 1st col....Check: Do not import column (skip)
Click the 2nd col....Check: Text
Click [Finish]

That will remove the 1st char from each cell and convert the remainder to
text.

Is that something you can work  with?

--------------------------
Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

> Greetings,
>
[quoted text clipped - 17 lines]
>
> ultsun1
Gord Dibben - 02 Oct 2007 19:57 GMT
=RIGHT(B2,LEN(B2)-1) does not create a circular reference unless entered in B2

If entered in C2 will return the trucated string.

Gord Dibben  MS Excel MVP

>Greetings,
>
[quoted text clipped - 17 lines]
>
>ultsun1
MartinW - 03 Oct 2007 07:45 GMT
And one more,

=MID(A1,2,5) or
=MID(A1,2,10) or
=MID(A1,2,50)
just make the last value greater than
the most number of characters you
will have in a cell.

HTH
Martin

> Greetings,
>
[quoted text clipped - 17 lines]
>
> ultsun1
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.