+ Reply to Thread
Results 1 to 5 of 5

Consolidate Row Data in a single row, different columns

  1. #1
    Registered User
    Join Date
    07-05-2009
    Location
    Bolton, England
    MS-Off Ver
    Office / Microsoft 365
    Posts
    10

    Consolidate Row Data in a single row, different columns

    Hi, I have a list of umpteen different people, each has a row record against different columns, I want to 'convert so that the column data appears in a single row for each.

    I might in VBA territory, I'm not skilled there, advice welcome please.

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,411

    Re: Consolidate Row Data in a single row, different columns

    Is data layout correct (i.e. person A has to 'No' in data column 2) how and what does this event represent ?
    Torachan,

    Mission statement; Promote the use of Tables, Outlaw the use of 'merged cells' and 'RowSource'.

  3. #3
    Registered User
    Join Date
    03-05-2025
    Location
    Deutschland
    MS-Off Ver
    MS Office Home & Business 2024
    Posts
    106

    Re: Consolidate Row Data in a single row, different columns

    Hi Peter,

    like this, please see attachment?

    br, Alexandra
    Attached Files Attached Files

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2504
    Posts
    13,741

    Re: Consolidate Row Data in a single row, different columns

    I am surmising that "No" qualifies as "data". Please see the attached.

    To get unique people this formula in column L
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    then this one in M2 and copied down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,432

    Re: Consolidate Row Data in a single row, different columns

    Maybe this, with the headers collated:

    PHP Code: 
    =LET(a,A2:A26,ua,UNIQUE(a),f,BYROW(a,LAMBDA(a,FILTER($C$1:$J$1,INDEX(C:C,ROW(a)):INDEX(J:J,ROW(a))="No"))),hs,HSTACK(a,f),brtj,BYROW(ua,LAMBDA(ua,TEXTJOIN(", ",,FILTER(INDEX(hs,,2),INDEX(hs,,1)=ua)))),HSTACK(ua,brtj)) 
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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. Replies: 3
    Last Post: 10-20-2020, 12:29 PM
  2. Macro to consolidate all the data into single file
    By Santhi28595 in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 08-04-2019, 02:33 AM
  3. [SOLVED] Consolidate Multiple Columns into Single Column
    By AllanTheCowboy in forum Excel General
    Replies: 17
    Last Post: 08-02-2015, 06:30 PM
  4. Code to consolidate data on a single tab
    By alchavar in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-31-2013, 12:24 PM
  5. [SOLVED] Consolidate data into single rows
    By trent_mac in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-07-2012, 03:58 PM
  6. consolidate data into a single column
    By jyj9ja in forum Excel General
    Replies: 5
    Last Post: 01-19-2012, 03:22 PM
  7. Consolidate data into single table
    By JP Romano in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-25-2011, 08:36 AM

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