Results 1 to 3 of 3

Automate 7-Step Data Cleanup Process (i.e., text delimit; re-align data into 1 column, ++)

Threaded View

  1. #1
    Forum Contributor
    Join Date
    08-06-2018
    Location
    Virginia
    MS-Off Ver
    2019
    Posts
    367

    Automate 7-Step Data Cleanup Process (i.e., text delimit; re-align data into 1 column, ++)

    Hello:

    In a previous post, expert Rick helped me develop a macro for keyword extraction. The macro works beautifully!! Please see original post at: https://www.excelforum.com/excel-pro...ml#post5477101

    Background:
    - Cells A2:A5 include some business rules.
    - Based on an existing macro "DistinctFieldNamesWithUnderscores", keywords (i.e., those words including an "_" are automatically extracted into column B2:B5: This process works great and does not require any modifications.

    Additional information:
    1. At this time, certain keywords (e.g., sort_number) are repeated. Please keep in mind that in my actual data set, I have hundreds of records so the amount of repeated words is significantly larger.
    2. Also, most values in column B contain multiple keywords separated by a ";".
    3. Ultimately, I would like to have my output reflecting:
    3a: Distinct values
    3b: ... in distict cells
    3c: ... no trailing/leading spaces before the keyword

    7-Step Cleanup Process:
    Now, to demonstrate how I clean up the data, I have included a secondary XLS "7-Step Cleanup Process". This XLS summarizes the individual steps that I am currently performing in a manual process. Essentially, it includes steps such as text delimitation, moving values across several columns into a single column, removing null and header values, removing trailing spaces, and sorting the data.

    Here's what I need some help with:
    - Based on the 2nd spreadsheet, is there a way to automate the cleanup process for values B2:B5 (in this spreadsheet) where I end up with a clean list as shown on tab "Desired Data Output".
    - If so, what would the VBA/macro look like?

    Thank you,
    EEH
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Data cleanup: separating values in a column
    By ikaros in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-11-2015, 11:16 AM
  2. Cleanup telephone numbers that have some text data
    By djarcadian in forum Excel General
    Replies: 4
    Last Post: 08-19-2014, 08:03 AM
  3. [SOLVED] Ideas for a controlled step by step process?
    By psjpsjpsjpsj in forum Excel General
    Replies: 4
    Last Post: 11-27-2013, 08:54 AM
  4. [SOLVED] How to automate a 20 step process after importing data into Excel
    By ericinarcata in forum Excel General
    Replies: 1
    Last Post: 11-13-2012, 05:03 PM
  5. Macro to automate a process including data web connection
    By bensalisbury in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-13-2012, 06:44 AM
  6. Replies: 4
    Last Post: 06-23-2009, 09:57 PM
  7. Replies: 2
    Last Post: 03-28-2008, 07:08 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