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 / November 2007

Tip: Looking for answers? Try searching our database.

New Excel Field HOWTO - [WP]

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
WILDPACKET - 23 Nov 2007 17:32 GMT
Have a xls file with 400 users in it with the following fields:
Employee Number, First Name, Last Name.

I want to add another field which shows me LastName and first intial of the
user.

e.g:  If user name is John Doe  the new field should automatically create
DoeJ.

How can I make this usign excel.  I have 400 users with first name and last
name in seperate fields.

Advise Please.

Thank you
Don Guillett - 23 Nov 2007 17:39 GMT
sub trythis()
for each c in range("c2:c400")
c.offset(,1).value=c & "," & left(c.offset,-1),1)
next c
end sub
Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

>
> Have a xls file with 400 users in it with the following fields:
[quoted text clipped - 14 lines]
>
> Thank you
RAGdyer - 23 Nov 2007 21:36 GMT
With first name in Column B, and last name in Column C, try this:

=C2&LEFT(B2)

And copy down as needed.
Signature

HTH,

RD

----------------------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
----------------------------------------------------------------------------------------

> Have a xls file with 400 users in it with the following fields:
> Employee Number, First Name, Last Name.
[quoted text clipped - 13 lines]
>
> Thank you
 
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.