Solved

Combining fields in Excel?

Posted on 2014-07-29
3
334 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

860 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