+ Reply to Thread
Results 1 to 5 of 5

Get the column Header where value matches in multible columns

  1. #1
    Registered User
    Join Date
    04-29-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Post Get the column Header where value matches in multible columns

    Hi,

    Looking for a help.

    I have first column with user id's and the rest of the columns contain their roles. There are tick marks if they belong to one or more roles.

    Explained in detail below

    Column A heading is User Id
    Column B heading is Support User
    Column C is Administrator
    Column D is Business
    Column E is Process team and so on

    A user can belong to one or more roles.

    I want the data in separate rows if the user has multiple role

    User1 Support User
    User1 Administrator
    User2 Support User
    User3 Business
    User4 business
    User5 Process Team
    User5 Support User

    like this.. Please help how to achieve this in excel. I dont know VBA scripting

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Get the column Header where value matches in multible columns

    Please attach a sample workbook with expected output for better understanding


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    04-29-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Get the column Header where value matches in multible columns

    Hi,

    Attaching the sample excel where first sheet contain Input and the second sheet contain the out put I need.

    Thanks,
    Padmini

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Get the column Header where value matches in multible columns

    Missed to attach the file

  5. #5
    Registered User
    Join Date
    04-29-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Get the column Header where value matches in multible columns

    HI,

    For some reason not able to attach the file. Below is the i/p nd o/p

    Input:

    Id A B C D F
    1 Yes Yes
    2 Yes Yes
    3 Yes
    4 Yes
    5 Yes
    6 Yes
    7 Yes Yes

    Output:

    Id Role
    1 A
    1 C
    2 B
    2 D
    3 A
    4 A
    5 B
    6 B
    7 A
    7 C


    Thanks,
    Padmini

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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