+ Reply to Thread
Results 1 to 5 of 5

Using CONCATENATE with IF THEN?

  1. #1
    Registered User
    Join Date
    06-25-2012
    Location
    North Chicago, IL
    MS-Off Ver
    Excel 2003
    Posts
    7

    Using CONCATENATE with IF THEN?

    I have a spreadsheet with text, and the following columns of information:

    Preferred First Name
    Legal First and Last Name
    Last Name

    If the employee has indicated a Preferred First Name, then I want to combine that with the Last Name. If the employee has NOT indicated a preferred first name, then I want to use the Legal First and Last Name.

    I'm sure there is an easy way to do this, but I am stumped!

  2. #2
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Using CONCATENATE with IF THEN?

    =IF(A1="",B1&" "&C1,A1&" "&C1)

    If preferred is in A1, first in B1, last in C1, place this in D1.

    EDIT: Having reread your request, if preferred is in A1, first AND last are in B1, and last is in C1, then go with the following in D1:

    =IF(A1="",B1,A1&" "&C1)
    Last edited by CAntosh; 05-24-2016 at 10:45 AM.

  3. #3
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Using CONCATENATE with IF THEN?

    Hi -

    Assuming the Last Name is in Cell A1, First Name in Cell B1 and Preferred First Name in Cell C1 you could put in say Cell D1 this formula:

    =IF(ISBLANK(C1),B1&" "&A1,C1&" "&A1)
    ____________________________________________
    If this has solved your problem, please edit the thread title to add the word [SOLVED] at the beginning. You can do this by
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

    If I have been particularly helpful, please "bump" my reputation by pressing the small star in the lower left corner of my post.

  4. #4
    Registered User
    Join Date
    06-25-2012
    Location
    North Chicago, IL
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Using CONCATENATE with IF THEN?

    Thank you to both! You solved it!

  5. #5
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Using CONCATENATE with IF THEN?

    No problem! Thanks for the bump!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Concatenate with Double Info in Concatenate Cell
    By MRoz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-10-2015, 02:07 PM
  2. Replies: 5
    Last Post: 08-28-2014, 06:01 PM
  3. [SOLVED] VBA concatenate script does not excute as expected, Concatenate and "&" can't be dragged
    By VBAlex in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-07-2014, 09:25 AM
  4. [SOLVED] concatenate within VBA
    By kamelkid2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-01-2012, 09:02 AM
  5. [SOLVED] Concatenate help
    By Dimitrius in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-01-2012, 02:41 PM
  6. Replies: 2
    Last Post: 04-12-2010, 12:35 PM
  7. [SOLVED] [SOLVED] I know how to concatenate ,can one de-concatenate to split date?
    By QUICK BOOKS PROBLEM- in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-26-2005, 01:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1