+ Reply to Thread
Results 1 to 3 of 3

Looking to Clean Up Messy Dataset With No Clear Pattern

  1. #1
    Forum Contributor
    Join Date
    06-08-2008
    Location
    USA
    MS-Off Ver
    Mac Excel 2016
    Posts
    103

    Looking to Clean Up Messy Dataset With No Clear Pattern

    Looking for any tricks to clean up a ~100k record table that has no clear pattern. The data generally looks like this all blocked together in separate rows but the same column:

    Please Login or Register  to view this content.
    The big problem is that some records have three sets of additional data beneath it and some records have five -- maybe they have an email and/or phone number maybe they don't, some have lines after the record some don't, etc.

    I'm looking for ideas either using code or formulas to attempt to clean this up to look like below without going through every line manually:

    Please Login or Register  to view this content.

    Hoping people might have ideas using scenarios they've had to use in the past on really messy datasets that come in like this; it could be some combination of using SEARCH() or LEN() to try and identify when each record's data is over -- or VBA or something.

    I know it's not the most pointed question -- but if anybody has any tips it'd really help me out. It also doesn't have to end up being perfect -- if it ends up looking mildly like above, I'll be able to clean it manually from that point on, just not from the start.

    Any help using any method would be greatly appreciated!

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Looking to Clean Up Messy Dataset With No Clear Pattern

    Hi
    See the file I have attached.
    Column C is a possible approach of the solution depends on the level of trust that you select in P2.
    Regards
    Attached Files Attached Files

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,937

    Re: Looking to Clean Up Messy Dataset With No Clear Pattern

    it is better to attach sample excel file
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

+ 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: 01-23-2014, 10:13 AM
  2. [SOLVED] Vertical chart dataset needs to be converted into pivotable dataset
    By aspak84 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 09-17-2013, 06:06 PM
  3. Copying a dataset multiple times - and selecting titles for this dataset
    By alocke in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-07-2012, 10:15 PM
  4. Clear color but not pattern?
    By jayklmno in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-18-2006, 05:00 PM
  5. [SOLVED] Transforming messy database into clean database
    By SteveC in forum Excel General
    Replies: 4
    Last Post: 01-24-2006, 07:35 PM

Tags for this Thread

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