+ Reply to Thread
Results 1 to 10 of 10

Unique Horizontal list from vertical list

  1. #1
    Forum Contributor
    Join Date
    04-16-2014
    Location
    Witbank, SA
    MS-Off Ver
    Excel 2013
    Posts
    268

    Unique Horizontal list from vertical list

    hi good people,

    i have been spending time and more time looking for a formula that will take text from a vertical dynamic list and transpose it horizontally in another sheet as headers. if the list in sheet1 either extends or shrinks, the horizontal list in sheet2 must also update. the list in sheet1 contains many duplicate text values. please help me, thank you kindly..

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Unique Horizontal list from vertical list

    Have you tried the TRANSPOSE function?
    Martin

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,351

    Re: Unique Horizontal list from vertical list

    That won't get rid of duplicate items.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Contributor
    Join Date
    04-16-2014
    Location
    Witbank, SA
    MS-Off Ver
    Excel 2013
    Posts
    268

    Re: Unique Horizontal list from vertical list

    mrice,

    I cannot even reacall all the things I have tried...I have honestly tried Index/match, tweaked vlookups, and more to get this to work. I may have had an array formula with a transpose function inside of it at some stage, but nothing I have found and tried, worked..

  5. #5
    Forum Contributor
    Join Date
    04-16-2014
    Location
    Witbank, SA
    MS-Off Ver
    Excel 2013
    Posts
    268

    Re: Unique Horizontal list from vertical list

    AligW,

    very true also..

  6. #6
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Unique Horizontal list from vertical list

    Hi

    a possible approach: in the second sheet, A1 empty, in B1 and to the right

    =IFERROR(INDEX(Sheet1!$A1:$A1000,MATCH(0,INDEX(COUNTIF($A1:A1,Sheet1!$A1:$A1000&""),),0)),"")

    Regards
    Attached Files Attached Files
    Last edited by canapone; 05-27-2019 at 07:58 AM.
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  7. #7
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Unique Horizontal list from vertical list

    Hi

    same outputs from

    =IFERROR(INDEX(Sheet1!$A1:$A1000,AGGREGATE(15,6,ROW($1:$1000)/(COUNTIF($A1:A1,Sheet1!$A1:$A1000&"")=0),1)),"")

    Regards

  8. #8
    Forum Contributor
    Join Date
    04-16-2014
    Location
    Witbank, SA
    MS-Off Ver
    Excel 2013
    Posts
    268

    Re: Unique Horizontal list from vertical list

    Hi everybody,

    Ihave in the meantime found this code, which I did not want as I want a formula really, anyways, it is here
    :https://www.mrexcel.com/forum/excel-...olumn-row.html

    I will however first try the formulas I just received from canapone, and come back to you. Thank you very much

  9. #9
    Forum Contributor
    Join Date
    04-16-2014
    Location
    Witbank, SA
    MS-Off Ver
    Excel 2013
    Posts
    268

    Re: Unique Horizontal list from vertical list

    canapone,

    the formula is perfect, thank you very very much!

  10. #10
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Unique Horizontal list from vertical list

    Ciao,

    thanks for sharing your kind feedback.

    Regards

+ 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. Create vertical list from non uniform horizontal list
    By simonwait in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-31-2019, 08:36 PM
  2. [SOLVED] turn vertical list to horizontal list start new row when change in column A, B and E
    By drosew in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-13-2016, 01:13 PM
  3. [SOLVED] Convert Vertical list to Horizontal
    By pmor1503 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-14-2012, 10:15 PM
  4. Switching a Horizontal List to a Vertical List
    By mrvp in forum Excel General
    Replies: 2
    Last Post: 02-28-2012, 07:22 PM
  5. Converting vertical list into horizontal list
    By Frenchtom in forum Excel General
    Replies: 2
    Last Post: 09-12-2011, 03:55 PM
  6. Lookup from a Horizontal Table, not Vertical List
    By DMDG in forum Excel General
    Replies: 3
    Last Post: 07-23-2010, 01:53 PM
  7. Convert from Vertical list to Horizontal
    By ravi_m5_2000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-14-2009, 03:52 AM

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