+ Reply to Thread
Results 1 to 3 of 3

user function concatenation of two columns into single cell

  1. #1
    Registered User
    Join Date
    04-05-2016
    Location
    India
    MS-Off Ver
    2013
    Posts
    78

    user function concatenation of two columns into single cell

    revised question with image attached
    Last edited by melvinkoshy; 02-10-2018 at 09:12 AM.

  2. #2
    Registered User
    Join Date
    04-05-2016
    Location
    India
    MS-Off Ver
    2013
    Posts
    78

    Re: user function concatenation of two columns into single cell

    I want to have a user defined function named concall(Range1, Range2) that will let me first concatenate text in two columns with a new line into a single cell.

    Suppose if data in A1 to A3 is
    A
    B
    C

    and C1 to C3 is as follows
    Alpha
    Beta
    Gamma

    If I enter concall(A1:A3, C1:C3) in Cell F3, it should display the following in Cell F3

    A – Alpha
    B – Beta
    C – Gamma

    I know how to concatenate row-wise data to a single cell

    Please Login or Register  to view this content.
    Attached Images Attached Images

  3. #3
    Registered User
    Join Date
    04-05-2016
    Location
    India
    MS-Off Ver
    2013
    Posts
    78

    Re: user function concatenation of two columns into single cell

    I used the following code and it meet the requirement. I am posting it for the benefit of the community

    Please Login or Register  to view this content.
    Reference : https://stackoverflow.com/questions/...-with-new-line
    Attached Images Attached Images
    Last edited by melvinkoshy; 02-13-2018 at 11:55 PM.

+ 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. Formula or User Entry in single cell?
    By bartonkj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-01-2015, 03:31 PM
  2. Automate concatenation between single cell and multiple target cells
    By garnerseo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-16-2013, 07:15 AM
  3. Concatenation of multiple columns relativly to current cell
    By lesoies in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-13-2013, 04:34 PM
  4. Combine multiple rows into a single row with concatenation
    By MichaelWood in forum Excel General
    Replies: 7
    Last Post: 06-30-2012, 01:49 PM
  5. Using LOOKUP from user input in a single cell
    By Hambone70 in forum Excel General
    Replies: 3
    Last Post: 02-06-2011, 03:50 PM
  6. Replies: 8
    Last Post: 01-26-2010, 07:30 PM
  7. [SOLVED] Transfer single cell information to specific cell based on user criteria
    By RoVo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-31-2006, 11:30 AM

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