+ Reply to Thread
Results 1 to 3 of 3

Cleanup of data that is merged by client and requires text to columns and transposing

  1. #1
    Registered User
    Join Date
    03-22-2021
    Location
    New Jersey, USA
    MS-Off Ver
    Office 365 (Version 2102)
    Posts
    6

    Cleanup of data that is merged by client and requires text to columns and transposing

    Data is received in "example 1" tab. Client account is a merged cell (Column A) that has contact names and emails in individual rows per client in columns B and C. The names and emails are all in one cell and are delimited by semicolons. Text to columns can easily break out these values into individual columns for each value but the merged cell in column A does not have the right number of rows to easily transpose the data from columns to rows. Doing this manually required me to count how many names/emails there were per client and then adding/removing rows to account for the transpose (which is extremely time consuming when there are 20 clients with 10-15 contacts per client).

    Does anyone have a more efficient way of getting from the "Example 1" tab to the "Solution" tab?
    Attached Files Attached Files

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Cleanup of data that is merged by client and requires text to columns and transposing

    I used Power Query to do this.

    Convert your data into a table, load it into Power Query, fill Client Account down, duplicate the query so you now have two.
    On the one, split Contact Names by delimiter (semicolon) into rows, then add an index column
    On the other, split Contact Emails by delimiter (semicolon) into rows, then add an index column
    Use the index column to Merge Queries and pull over Contact Emails from the other into the first one.
    Delete the columns that you don't need.

    See attached.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    03-22-2021
    Location
    New Jersey, USA
    MS-Off Ver
    Office 365 (Version 2102)
    Posts
    6

    Red face Re: Cleanup of data that is merged by client and requires text to columns and transposing

    This worked great - thank you for the quick response!

+ 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] Client Data in Columns - how to create a client drop down
    By abearmenta in forum Excel General
    Replies: 9
    Last Post: 10-10-2016, 10:24 AM
  2. [SOLVED] This Operation Requires Merged Cells To Be Identically Sized
    By nightdawg in forum Excel General
    Replies: 7
    Last Post: 11-10-2015, 02:43 PM
  3. [SOLVED] Operation requires merged cells to be identically sized
    By Arpita_Excel in forum Excel General
    Replies: 3
    Last Post: 07-22-2015, 02:01 AM
  4. Replies: 1
    Last Post: 07-09-2015, 04:41 AM
  5. Replies: 8
    Last Post: 11-02-2011, 02:45 PM
  6. Replies: 5
    Last Post: 07-08-2011, 03:44 PM
  7. Replies: 11
    Last Post: 07-03-2005, 08:05 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