+ Reply to Thread
Results 1 to 5 of 5

Group or Add text

  1. #1
    Forum Contributor
    Join Date
    04-20-2010
    Location
    Pretoria, South Africa
    MS-Off Ver
    Excel 2016
    Posts
    151

    Group or Add text

    On the attached sheet I want to Group or Add text directly underneath each other from multiple cells.
    Attached Files Attached Files
    Last edited by mrcois; 06-10-2010 at 08:51 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Group or Add text

    Obvious questions based on the sample would be:

    a) are the values in Col A always numeric ?

    b) are the values in Col A always unique ?

    c) does the order of the final table matter - ie if 3704 were listed first would this be an issue ?

  3. #3
    Forum Contributor
    Join Date
    04-20-2010
    Location
    Pretoria, South Africa
    MS-Off Ver
    Excel 2016
    Posts
    151

    Re: Group or Add text

    a) No they might also be something like: W08016 or FC46A

    b) Yes they will always be unique with numbers or numeric.

    c) No the order would not matter, as long as they list directly below each other

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Group or Add text

    Shame about non-numerics but a simple method, to avoid need for expensive formulae would be:

    C1: 1
    C2: =MAX(C$1:C1)+(A1<>"")
    copied down for all rows

    Then:

    G1: =INDEX(A:A,MATCH(ROWS(G$1:G1),$C:$C))
    applied across matrix G1:H5

  5. #5
    Forum Contributor
    Join Date
    04-20-2010
    Location
    Pretoria, South Africa
    MS-Off Ver
    Excel 2016
    Posts
    151

    Re: Group or Add text

    This worked 100%. Thanks man...

+ 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