+ Reply to Thread
Results 1 to 4 of 4

Need a variation (or alternative formula) to the "Concatenate" formula for this problem

  1. #1
    Forum Contributor
    Join Date
    05-09-2013
    Location
    Mauritius
    MS-Off Ver
    Excel 2010
    Posts
    116

    Need a variation (or alternative formula) to the "Concatenate" formula for this problem

    Hi all,

    I have an Excel 2010 worksheet which contains numbers in Cell A1 to Z1. I need to merge all the numbers in those cells into one single cell but each number need to be separated by the "|" sign.

    I know the Concatenate formula [=concatenate(A1,"|",B1,"|",C1.....] can do this but it will be tedious to write, given I am merging a large number of cells. Is there a variation to this formula that can perform this task? Or may be a different formula?

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Need a variation (or alternative formula) to the "Concatenate" formula for this proble

    Why not try this in B2,
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and in C2 copied across to Z2.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Need a variation (or alternative formula) to the "Concatenate" formula for this proble

    You could do this..

    In B2 put
    =A1&"|"&B1

    Then in C2 and filled right as far as needed..
    =B2&"|"&C1

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Need a variation (or alternative formula) to the "Concatenate" formula for this proble

    tigeravatar has an excellent solution here.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ 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. [SOLVED] variation in a formula with "$X$XX"
    By jaunfra in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-03-2013, 02:25 PM
  2. [SOLVED] Problem adding a "Row" formula to a "lookup" formula
    By Portuga in forum Excel General
    Replies: 3
    Last Post: 10-08-2012, 11:58 AM
  3. Alternative to nesting formula? "IF(ISNUMBER(SEARCH"
    By ad9051 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 03-19-2012, 06:12 AM
  4. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  5. formula for "coefficient of variation"
    By woodendummy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-18-2005, 02:06 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