+ Reply to Thread
Results 1 to 2 of 2

Power Query Merge Columns if Not Null

  1. #1
    Forum Contributor
    Join Date
    03-03-2011
    Location
    Ottawa, Ontario
    MS-Off Ver
    365
    Posts
    136

    Power Query Merge Columns if Not Null

    I have a data model that I would like to merge only the columns (6 total) that don't have null values. For example, one row might have 5 names in the 6 columns so I would only want to combine the first 5 names and not the 6th null value. The next row might have only 3 names so I only need the first 3 names and not the 4th 5th and 6th null values.

    I was also hoping it might be possible that after I combine the names that I could somehow place them in alphabetical order. eg. Change - Dave, Bob, Adam to Adam, Dave, Bob.

    Thanks

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Power Query Merge Columns if Not Null

    There are instructions telling you how to attach your sample workbook at the top of the page.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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: 1
    Last Post: 03-12-2019, 04:42 PM
  2. [SOLVED] Power Query showing Null but values exist?
    By taylorsm in forum Excel General
    Replies: 3
    Last Post: 04-10-2018, 10:19 AM
  3. Replies: 9
    Last Post: 11-29-2017, 01:32 PM
  4. Power Query - merge by part of the string
    By zico8 in forum Excel General
    Replies: 1
    Last Post: 07-31-2017, 04:32 AM
  5. Merge Sheets Power Query
    By morerockin in forum Excel General
    Replies: 8
    Last Post: 04-11-2017, 08:17 AM
  6. How to remove null values from several columns with Power Query?
    By toblju in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-12-2016, 11:08 AM
  7. Power Query, merge 2 or more large files in one
    By Remphan in forum Excel General
    Replies: 0
    Last Post: 03-02-2016, 04:28 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