+ Reply to Thread
Results 1 to 6 of 6

Cancatenate values on one cell on descending order

  1. #1
    Forum Contributor
    Join Date
    04-22-2011
    Location
    Isabela, Puerto Rico
    MS-Off Ver
    365 Mac Excel Version 16.54
    Posts
    233

    Cancatenate values on one cell on descending order

    I will appreciate if someone may can help me to figure out if is possible to have multiple concatenated values in one cell
    on descending order instead of to the side and wrap
    Eg, January, February, March, April

    I will like to concatenated values in one cell to show like this below
    January
    February
    March
    April
    and so on

    Thanks in advance to anyone who may have a solution for this, thanks very much.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: Cancatenate values on one cell on descending order

    Where is the data coming from? If you are manually entering it then just Alt+Enter after each one. If it's via formula, then you will have to post the formula
    (using [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE]) tags.
    Last edited by protonLeah; 09-27-2015 at 12:27 AM.
    Ben Van Johnson

  3. #3
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Cancatenate values on one cell on descending order

    If you're using a formula then use CHAR(10) as your delimiter.
    If you're using vba then use vbCrLf as your delimiter.

  4. #4
    Forum Contributor
    Join Date
    04-22-2011
    Location
    Isabela, Puerto Rico
    MS-Off Ver
    365 Mac Excel Version 16.54
    Posts
    233

    Re: Cancatenate values on one cell on descending order

    Hi jason.b75, thanks for your response Im. using a UDF code with array formula to retrieve the desire values on the array i identify each desire values with the asterisk ***
    see code below and array underneath, thanks for taking a look, may you can help me with this
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Cancatenate values on one cell on descending order

    It would be easier to just enter the character into the formula.

    I've not used that code before but I'm going to assume that it works the same way as Harlan Grove's Aconcat function, here's a short example formula using an extract from your huge formula in the previous post.

    =StringConcat("",IF('Men Rank Placement Record'!$C$5:$C$42='Men''s Pics Profile'!$E$3,'Men Rank Placement Record'!$F$5:$F$42&CHAR(10),""))

    Note that I've used a null string for the separator and joined the line feed CHAR(10) to the end of the 'value if true' part of the IF function.

    You will need to apply the 'Wrap text' format to the cells with the formula for it to work.

  6. #6
    Forum Contributor
    Join Date
    04-22-2011
    Location
    Isabela, Puerto Rico
    MS-Off Ver
    365 Mac Excel Version 16.54
    Posts
    233

    Re: Cancatenate values on one cell on descending order

    Thank you very much, this solved my thread , but instead i had to use CHAR(13) for MAC, cheers!

+ 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] Formula to Rank Values in Descending Order
    By brent_excel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-16-2015, 07:44 PM
  2. Validate if values associated with the same part number are in descending order
    By forbesk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-03-2014, 03:47 PM
  3. Replies: 5
    Last Post: 05-29-2014, 11:55 AM
  4. Replies: 3
    Last Post: 04-19-2013, 03:07 PM
  5. [SOLVED] Rank values in descending order with duplicates
    By mcain1981 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-14-2012, 01:15 PM
  6. Sorting in descending order and show duplicate values
    By cceze in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-19-2012, 09:33 AM
  7. Replies: 14
    Last Post: 04-17-2012, 05:18 PM

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