Solved

Combining fields in Excel?

Posted on 2014-07-29
3
314 Views
Last Modified: 2014-07-29
We are migrating to office365.  I have a list of our users first name and last name in csv format.  However I need to do a little scripting to get all the fields I need formatted properly.

We have: (first name),(lastname)

We need to combine these two fields to create the following new fields:

(first initial of firstname)(lastname)

(first name) (last name)

Can anyone help with a formula that will create these two new fields?
0
Comment
Question by:ccarmichael7
3 Comments
 
LVL 11

Assisted Solution

by:Missus Miss_Sellaneus
Missus Miss_Sellaneus earned 250 total points
ID: 40227835
Assume B5 is first name, C5 is last name:

(first name) (last name):
=CONCATENATE(B5," ",C5)

(first initial of firstname)(lastname):
=CONCATENATE(LEFT(B5,1)," ",C5)
0
 
LVL 27

Accepted Solution

by:
Glenn Ray earned 250 total points
ID: 40227856
alternate, shortcut versions of Miss_S's code:

(First Name) (Last Name)
=B5&" "&C5

(First Name initial) (Last Name)
=LEFT(B5,1)&" "&C5

-Glenn
0
 

Author Closing Comment

by:ccarmichael7
ID: 40227870
Thanks for both of your help.  I am splitting the points as both answers are right, but one is more optimized.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now