+ Reply to Thread
Results 1 to 2 of 2

Using MCONCAT function to join value from multiple cells into one cell-HELP

  1. #1
    Registered User
    Join Date
    10-19-2012
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2007
    Posts
    9

    Using MCONCAT function to join value from multiple cells into one cell-HELP

    I have two columns of text, Column A, Column B, sometimes Column A is blank, sometimes Column B is blank, sometimes one has text, sometimes both have text. I want to use the MCONCAT(A1:B1,";") function to return whatever the values are in those two cells. However I only want to return the ";" when there are two values. If the result is "null" or only one value, there doesn't need to be a ";".

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,791

    Re: Using MCONCAT function to join value from multiple cells into one cell-HELP

    Why not just do the following:

    =A1 & IF(OR(A1="",B1="")"",";") & B1

    Hope this helps.

    Pete

+ 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