+ Reply to Thread
Results 1 to 4 of 4

Duplicate Values in a row to conver to columns

  1. #1
    Registered User
    Join Date
    08-01-2017
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    2

    Lightbulb Duplicate Values in a row to conver to columns

    Hi,
    In the screenshot attached i have several rows that have more than one value.
    I need to produce a single value for row 'a' and show all of the corresponding values in row 'b' horizontally.
    For example in the attached screenshot there are 2 codes for AA005, namely 450050 and 450051.
    I want to see in row 'a' AA005, row 'b' 450050 and row 'c' 450051.
    Is there a way to make this happen?
    Excel Example.jpg

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Duplicate Values in a row to conver to columns

    A detailed image is useless on this forum.
    It creates delays and leads to solutions being offered as untested since noone wants to type the data in for you.

    Post a sample spreadsheet with expected results, remove any sensitive data, create a mockup example if necessary.
    Use the Go Advanced option at the bottom of the page then scroll down to Manage Attachments as the "paperclip" method does not work on this forum.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,889

    Re: Duplicate Values in a row to conver to columns

    Since you have Office 365, you have Get & Transform (formerly PowerQuery).

    Select entire data (or if it's Excel table, any cell in table range).

    Go to Data tab and select "From Table".

    Once data is loaded to PQ editor, highlight [Group1] column and Right click, select Fill->Down

    Select
    Please Login or Register  to view this content.
    EDIT: Remove single quote from Code. It's added so that it's not confused with tag.
    Select the newly added column and right click. Split column -> By deliminter. Use comma as delimiter.

    Remove the Aggregate column (shows Table as value), and rename columns as needed.

    Load the table to new sheet. See attached sample.
    Attached Files Attached Files
    Last edited by CK76; 08-01-2017 at 12:29 PM. Reason: See Edit:
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  4. #4
    Registered User
    Join Date
    08-01-2017
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    2

    Re: Duplicate Values in a row to conver to columns

    brilliant, thanks CK76 that works perfectly.
    Apologies Special K, in future i will attach the relevant editable document.

+ 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] Count duplicate text values in columns whilst ignoring/excluding certain values
    By adamwestwell in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-02-2017, 05:34 AM
  2. Replies: 3
    Last Post: 11-21-2016, 09:42 AM
  3. [SOLVED] Duplicate Values looking at 2 columns
    By Simon.xlsx in forum Excel General
    Replies: 5
    Last Post: 06-01-2015, 08:28 AM
  4. [SOLVED] Find count of Unique or Duplicate Values based on Concatenated values in 2 columns
    By bdicarlo1 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-03-2014, 12:42 AM
  5. [SOLVED] Merge duplicate values with other columns of different values
    By lesday in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-20-2013, 04:18 PM
  6. Duplicate values in two columns
    By Karen123 in forum Excel General
    Replies: 1
    Last Post: 03-21-2011, 05:27 AM
  7. Getting Duplicate Row values into Columns
    By dirtmcgirt in forum Excel General
    Replies: 2
    Last Post: 12-06-2007, 11:50 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