+ Reply to Thread
Results 1 to 4 of 4

Excel Function - Adding Semi-Colons to Separate Cells

Hybrid View

  1. #1
    Registered User
    Join Date
    03-04-2012
    Location
    Denver, Colorado
    MS-Off Ver
    Excel 2003
    Posts
    1

    Excel Function - Adding Semi-Colons to Separate Cells

    I am interested in essentially doing the reverse of text to columns, combining three columns into one, separating the fields by a semi-colon. IE: taking three columns, first name, last name, and email address, and then combining to appear in one cell as follows - first name; last name; email address.

    I found the following equation online - =A1&IF(B1<>""," "&B1,"")&" "&C1 - to help be combine the cells. I am unsure, however, how to add semi-colons between the fields. Is someone able to provide assistance or clarification as to how to do this?

    Thank you in advance.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,077

    Re: Excel Function - Adding Semi-Colons to Separate Cells

    Try
    =A1&IF(B1<>"","; "&B1,"")&"; "&C1
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Excel Function - Adding Semi-Colons to Separate Cells

    or even easier you can do this: =A1&";"&B1&";"&C1
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  4. #4
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Excel Function - Adding Semi-Colons to Separate Cells

    Is your issue resolved? If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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