+ Reply to Thread
Results 1 to 8 of 8

Multiple colums with one cell each combined to one column

  1. #1
    Registered User
    Join Date
    03-07-2017
    Location
    Ontario
    MS-Off Ver
    2010
    Posts
    21

    Multiple colums with one cell each combined to one column

    I Have multiple columns and rows of data. Each row contains only one entry based on a formula. I now need to take the text in that row and place it in a like column with the rest of the data creating only one column with the result. I have attached a sample. I am looking for a formula to have the result seen in column H (LIST)
    Attached Files Attached Files

  2. #2
    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: Multiple colums with one cell each combined to one column

    This is a simple case of unpivotting the data (columns) using Power Query. PQ is available to Excel 2010 (your current profile) and later versions. Here is the Mcode

    Please Login or Register  to view this content.
    Additionally, I have included the file in which I made the change. Click on the links in my signature to learn more about PQ.
    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

  3. #3
    Registered User
    Join Date
    03-07-2017
    Location
    Ontario
    MS-Off Ver
    2010
    Posts
    21

    Re: Multiple colums with one cell each combined to one column

    Thanks Alan, this did get the desired results however is it possible to have the date show up on the same sheet? I will have to use some of my spare time to learn about Power Queries in this time of isolation.

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

    Re: Multiple colums with one cell each combined to one column

    As to post #3: "...have the [data] show up on the same sheet..."
    Paste the following into cell H2 and copy down: =IFERROR(INDEX(A2:F2,AGGREGATE(15,6,COLUMN(A2:F2)/(A2:F2<>0),1)),"")
    Let us know if you have any questions.
    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: Multiple colums with one cell each combined to one column

    What date should appear? Don't find one in your sample. Where should this date appear?

    A really good primer for PQ is "M is for (Data) Monkey" by Ken Puls and Miguel Escobar.

  6. #6
    Registered User
    Join Date
    03-07-2017
    Location
    Ontario
    MS-Off Ver
    2010
    Posts
    21

    Re: Multiple colums with one cell each combined to one column

    Thanks all for your help on this. Problem solved!

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

    Re: Multiple colums with one cell each combined to one column

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

  8. #8
    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: Multiple colums with one cell each combined to one column

    Thanks for the Rep

+ 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. Sum column cells across multiple colums
    By woodland81 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-12-2014, 08:08 AM
  2. Combined data from multiple rows if column contains a duplicate value
    By ALexcell47 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 03-04-2013, 05:37 PM
  3. Pivot table with 2 colums combined--- displayed together
    By Istirling in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-22-2013, 04:30 PM
  4. find duplicates sort then next colums data combined
    By farrukh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-30-2012, 06:04 PM
  5. Formula required for comparing multiple colums to multiple colums
    By Pringgles in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-30-2012, 07:23 AM
  6. Multiple Transpose from Same column to different rows and colums.
    By marc5354 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-20-2010, 06:14 PM
  7. Excel 2007 : multiple colums under a single column
    By RobotChicken in forum Excel General
    Replies: 3
    Last Post: 12-15-2009, 01:34 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