+ Reply to Thread
Results 1 to 6 of 6

Convert similar row into one row with column

  1. #1
    Registered User
    Join Date
    09-18-2019
    Location
    singapore
    MS-Off Ver
    2016
    Posts
    2

    Convert similar row into one row with column

    excel1.png


    How do you convert the excel as shown above?

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: Convert similar row into one row with column

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    09-18-2019
    Location
    singapore
    MS-Off Ver
    2016
    Posts
    2

    Re: Convert similar row into one row with column

    Hi
    As attached.
    I'm not an expert in Excel but need to convert the left side data into the right side as shown in the picture.

    Many thanks
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: Convert similar row into one row with column

    Perhaps the following will help:
    The question ID's are populated using: =IFERROR(IF(MATCH(0,INDEX(COUNTIF(F$2:F2,B$2:B$20),,),)>COUNTA(B$2:B$20),"",INDEX(B$2:B$20,MATCH(0,INDEX(COUNTIF(F$2:F2,B$2:B$20),,),))),"")
    The usernames are populated using: =IFERROR(IF(MATCH(0,INDEX(COUNTIF($F2:F2,$A2:$A20),,),)>COUNTA($A2:$A20),"",INDEX($A2:$A20,MATCH(0,INDEX(COUNTIF($F2:F2,$A2:$A20),,),))),"")
    The scores are populated using: =INDEX($C$2:$C$20,AGGREGATE(15,6,(ROW($C$2:$C$20)-ROW($C$1))/($A$2:$A$20=G$2)/($B$2:$B$20=$F3),1))
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,882

    Re: Convert similar row into one row with column

    a very simple way to achieve this is to use Power Query/Get and Transform. Here is the Mcode and your file with the solution using PQ

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  6. #6
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: Convert similar row into one row with column

    Or, I think you could just create a pivot table. See attached.
    Attached Files Attached Files

+ 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. [SOLVED] Formula to show in column B only one word of similar in a column A
    By thecdnmole in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-18-2018, 05:07 PM
  2. Macro that highlights cells in one column that do not exist in another similar column
    By everydayiwakeup in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-02-2017, 03:49 AM
  3. Excel Sheet which will convert all the similar values in one row
    By haroonhayat in forum Excel Charting & Pivots
    Replies: 20
    Last Post: 05-14-2015, 12:23 AM
  4. [SOLVED] Replace cell in Column A with value in Column B if contains similar character string
    By oybombadil in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-17-2015, 08:49 AM
  5. Replies: 4
    Last Post: 05-03-2014, 07:09 AM
  6. Convert similar strings into a common string
    By booo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-03-2010, 03:54 PM
  7. Replies: 3
    Last Post: 06-06-2009, 12:18 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