+ Reply to Thread
Results 1 to 10 of 10

unique List from table

  1. #1
    Registered User
    Join Date
    01-21-2013
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    5

    unique List from table

    HI

    Is it possible to do the following on update of each row or update of the sheet

    I have a table of users on the sheet1 (First Name, Group Name)

    First Name | Group Name
    Paul A
    Dave B
    Mary A
    Mike C
    Ian C
    Jim C


    on the 2nd sheet I want to display the list like this
    A B C D
    Group |User1|User2|User3...and so on
    A Paul | Mary
    B Dave|
    C Mike |Ian |Jim

    SO all users in Group A are displayed from Rows B2-Z2 and all users in group B are displayed on Row b3-Z3

    I would also need to build the unique Group Names in sheet 2 from the table in the first sheet (so if I add Group D it add another row on sheet 2)


    Thanks in advance for any help

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: unique List from table

    Probably ít can be done.

    I'm always interested, where you gonna use it for?

    All data (per row) in different column I suppose?
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    01-21-2013
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: unique List from table

    I have to load the contents of this sheet2 into another system and the system has to read the data in the Sheet 2 format , but the initial data comes in the format on sheet 1 - nothing is ever simple

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: unique List from table

    Run the macro consolidate

    See the attached file.

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

  5. #5
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: unique List from table

    Based on Oeldere's attached sheet, please see the attached as an option.
    Thanks Oeldere by the way.
    Attached Files Attached Files
    Last edited by AB33; 01-21-2013 at 06:49 PM.

  6. #6
    Registered User
    Join Date
    01-21-2013
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: unique List from table

    Perfect Thanks- now wish I understood it

    as I need to keep the table in sheet 1 , can the formatted list be sent to sheet 2 and updated after each update/change on sheet 1?
    Last edited by jeffreybrown; 01-21-2013 at 07:02 PM. Reason: Removed quote

  7. #7
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: unique List from table

    Run the macro consolidate

    There are cleaner solutions, but it works.

    See the attached file.

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Last edited by oeldere; 01-21-2013 at 07:04 PM. Reason: posted code

  8. #8
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: unique List from table

    @jamjam200,

    Moderators Note:
    • As per Forum Rule #12, please don't quote whole posts unless necessary-- it's just clutter...Thanks.
    HTH
    Regards, Jeff

  9. #9
    Registered User
    Join Date
    01-21-2013
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: unique List from table

    Great thanks.

    Final question if i may, can it work the other way? so if a user exists in a group on sheet 2 then sheet 1 will be updated with that group name?
    I may have this when downloading from one system to another

  10. #10
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: unique List from table

    run the macro below.

    Please Login or Register  to view this content.

+ 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