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 / Programming / May 2007

Tip: Looking for answers? Try searching our database.

Copy First Character of a cell

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kevin_jones01 - 17 May 2007 04:41 GMT
I am trying to copy the first character of a cell and combine it with another
row and place it in another row. I am trying to create usernames from two
columns First Name and Last Name.  I am trying to use Concatenation is this
possible.  How do I do this?

Example:

First Name      Last Name     Username

Jim                 Bob               jbob
Sally               Richards        srichards
Fred Smith - 17 May 2007 05:06 GMT
Assuming your data is in columns a, b and c, the following will create the
Username for you:

=lower(left(a3,1)&b3)

Signature

Regards,
Fred

>I am trying to copy the first character of a cell and combine it with another
> row and place it in another row. I am trying to create usernames from two
[quoted text clipped - 7 lines]
> Jim                 Bob               jbob
> Sally               Richards        srichards
Mike - 17 May 2007 05:08 GMT
try this

A1    B1              C1
Jim  Bob    =LEFT(A1,1)&B1

> I am trying to copy the first character of a cell and combine it with another
> row and place it in another row. I am trying to create usernames from two
[quoted text clipped - 7 lines]
> Jim                 Bob               jbob
> Sally               Richards        srichards
kevin_jones06 - 17 May 2007 05:21 GMT
Thank you Mike this is perfect.  Is there an easy way to check for
duplicates? and if ther is a duplicate to use the 1st Character + Last Name
plus a number? (i.e. jsmith10, jsmith15, jsmith24.  I know this is not simple
but just thought I would ask.  I have to do this 100 more times and I am
going to have to manually check for duplicates.  Thank you for all of your
help.

> try this
>
[quoted text clipped - 12 lines]
> > Jim                 Bob               jbob
> > Sally               Richards        srichards
Mike - 17 May 2007 05:45 GMT
Kevin
Freds example will make all user names to lower case if that's what you want
you could also change lower to upper to make all user names to be in upper
case

> Thank you Mike this is perfect.  Is there an easy way to check for
> duplicates? and if ther is a duplicate to use the 1st Character + Last Name
[quoted text clipped - 19 lines]
> > > Jim                 Bob               jbob
> > > Sally               Richards        srichards
 
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.