+ Reply to Thread
Results 1 to 8 of 8

Cleaning up data and Counting words

  1. #1
    Registered User
    Join Date
    04-26-2014
    Location
    england
    MS-Off Ver
    Excel 2013
    Posts
    7

    Unhappy Cleaning up data and Counting words

    Hi I'm new to all this excel data stuff!

    however I have survey data results and in one of the cells it has multiple values which are separated between ; and some are not separated at all e.g B&Q; The Range; Wickes The Garden Shop

    also there are spelling mistakes everywhere and vereation of the word B&Q e.g b+q, B n Q

    I need to add count up all of the B&Q, Wickes ect..


    is there an easy way for this?

    thank you

  2. #2
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: Cleaning up data and Counting words

    Hi,

    Welcome to the forum

    Excel has many tool to clean up data, like Text to Columns (to split data into multiple columns), remove duplicates, and functions to evaluate and clean up text. Unfortunately, variations of the same word can be complex to fix as the PC uses logic and not assumptions to analyse data. It is possible to clean up the data but if the source data is a lot and there are multiple variations, there is no guarantee that the data can to cleansed 100%.

    If you can supply a small sample of your data (desensitized) and provide instructions, we can assist you in scrubbing it as best possible and setting it up for further analysis...

    You can upload a sample by clicking the Go Advanced button on the bottom right and using the paperclip button in the advanced window( on the toolbars) to upload a sample file...
    Regards,
    Rudi

  3. #3
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: Cleaning up data and Counting words

    As an additional note... Pivot Tables can do the counting of words for you, BUT the structure of your data will need to be prepared and cleansed to get any form of accurate and effective feedback.

  4. #4
    Registered User
    Join Date
    04-26-2014
    Location
    england
    MS-Off Ver
    Excel 2013
    Posts
    7

    Red face Re: Cleaning up data and Counting words

    Quote Originally Posted by RudiS View Post
    As an additional note... Pivot Tables can do the counting of words for you, BUT the structure of your data will need to be prepared and cleansed to get any form of accurate and effective feedback.
    Hi RudiS

    Yes I think this Pivot Table idea is a good one as there is other things I need to do with the data. any help would be very much appreciated.

    James
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: Cleaning up data and Counting words

    Ok... Looking into it....

  6. #6
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: Cleaning up data and Counting words

    Hi,

    The data is in a mess...wow!!
    I used Find/Replace and Text to Columns to do initial cleanup and then split.
    Then I placed all the words into a single column
    The Pivot uses the single A column as a source to group and count words.

    You can continue the cleanup process in column A by using spell check and Find/Replace to fine-tune the counting in the Pivot.
    Just remember to right click on the Pivot Table and select Refresh to keep it up-to-date.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    04-26-2014
    Location
    england
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: Cleaning up data and Counting words

    Yes it was a right mess!

    This is amazing!! thank you so much RudiS!!!!! can I just know how you pasted it all into a single cell? thanks again

    James

  8. #8
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: Cleaning up data and Counting words

    After using text to columns, which split the data into several columns, I set up a small macro that removed all the blank cells and compacted the data in each column, and then it transferred each block within the column to the bottom of the A column (appending the data to the bottom). The macro just looped this same action several times until all the columns were empty.

    I hate doing things manually

+ 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] counting occurrence of specific words in another group of words
    By kh@horsemanship101.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-02-2021, 07:33 PM
  2. Cleaning up data and Counting words
    By summerso1 in forum Word Formatting & General
    Replies: 1
    Last Post: 04-26-2014, 08:53 AM
  3. Help cleaning up data
    By Impartial Derivative in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-12-2011, 01:26 PM
  4. Qualitative data - counting different words
    By sammyb in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 07-16-2007, 07:55 AM
  5. Data Cleaning
    By mazmjh in forum Excel General
    Replies: 1
    Last Post: 11-27-2006, 12:12 PM

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