+ Reply to Thread
Results 1 to 4 of 4

Convert repeated Data in a Column into Headers.

  1. #1
    Registered User
    Join Date
    03-06-2016
    Location
    Ontario
    MS-Off Ver
    2010
    Posts
    3

    Convert repeated Data in a Column into Headers.

    Hi Experts,
    I have a list with ID's in the 1st Column and their Position Titles in the second column repeated for each ID that has the same position. I need to make the position titles as the column headers and the ID's for each position below the Titles. There can be 100's of position titles. Please let me know if you need any further details. Attached is the sample data.
    Thank you all for the help
    Mike

    For Excel Question.png

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Convert repeated Data in a Column into Headers.

    Use this array formula in E2, copied across and down:

    =IFERROR(INDEX($A:$A,SMALL(IF($B$2:$B$20=E$1,ROW($B$2:$B$20)),ROWS(E$2:E2))),"")

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    03-06-2016
    Location
    Ontario
    MS-Off Ver
    2010
    Posts
    3

    Solved Re: Convert repeated Data in a Column into Headers.

    Hi Glenn,
    Problem solved, thanks a lot.

    Mike

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Convert repeated Data in a Column into Headers.

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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. Importing select data from Notepad to Excel, but not repeated headers
    By CaseyH in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-31-2017, 01:38 PM
  2. How to convert repeated lines content to other column
    By falakienos in forum Excel General
    Replies: 1
    Last Post: 10-21-2014, 02:42 PM
  3. Replies: 4
    Last Post: 02-24-2014, 03:49 PM
  4. [SOLVED] convert repeated entries in column to single row
    By kevincoxshall in forum Excel General
    Replies: 3
    Last Post: 08-05-2013, 03:46 PM
  5. Replies: 0
    Last Post: 02-15-2011, 04:51 PM
  6. [SOLVED] Can headers be repeated on different worksheets in excel?
    By Tom Reynolds in forum Excel General
    Replies: 1
    Last Post: 03-02-2006, 05:00 PM
  7. repeated custom headers and footers
    By Jewelz in forum Excel General
    Replies: 1
    Last Post: 08-30-2005, 05:05 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