+ Reply to Thread
Results 1 to 8 of 8

Data Cleaning

  1. #1
    Registered User
    Join Date
    06-28-2016
    Location
    Bangkok
    MS-Off Ver
    2010
    Posts
    80

    Data Cleaning

    Hi everyone,

    Could you please provide me steps to clean data in the file attached?
    • Seperate data to different row if there are symbol ',': For example, "AA1, BB1, CC1" is in cell A2. I need the "AA1" in cell A2, while "BB1" in the cell A3 and etc.
    • Remove cell (shift up) if there is no number in the cell: For example, "AA" in the cell A4 should be excluded from the list because it doesn't contain number.

    Please take a look at the file attached for my expected output with samples.

    Thank you and have a nice day
    Attached Files Attached Files
    Last edited by cmokasak; 07-08-2016 at 06:31 AM.

  2. #2
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Data Cleaning

    Short answer, you will need VBA for this.

    How did "DD4" end up in the expected results sheet? Also, "EE1" disappeared from the expected results sheet.
    多么想要告诉你 我好喜欢你

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,079

    Re: Data Cleaning

    Where did EE1 (cell A3) go to?

    Also you say removal of AA but you start off with two AA1s and end up with three AA1s.
    Where did the extra AA1 come from?
    Last edited by Special-K; 07-07-2016 at 04:24 AM.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Registered User
    Join Date
    06-28-2016
    Location
    Bangkok
    MS-Off Ver
    2010
    Posts
    80

    Re: Data Cleaning

    Hi millz and Special-K,

    I have revised #1 to clarify my problem.
    In addition, I have modified excel file to align with my problem's description.
    Thank you and have a nice day
    Attached Files Attached Files
    Last edited by cmokasak; 07-07-2016 at 09:53 AM.

  5. #5
    Registered User
    Join Date
    06-28-2016
    Location
    Bangkok
    MS-Off Ver
    2010
    Posts
    80

    Re: Data Cleaning

    Can anyone help me please?

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Data Cleaning

    No one understands what you're trying to do.

    A
    B
    C
    D
    E
    F
    1
    Input Output
    2
    A B A B
    3
    AA1, BB1, CC1 AA1, BB1, CC1, DD1 AA1 AA1
    4
    EE1 FF1 BB1 BB1
    5
    AA CC1 CC1
    6
    AA1 DD1
    7
    EE1 FF1


    Where did the AA1 in E6 come from?

    Where did the AA in E5 go?
    Entia non sunt multiplicanda sine necessitate

  7. #7
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Data Cleaning

    This is assuming the second "AA1" is a mistake. Try running this on the Input sheet.

    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    06-28-2016
    Location
    Bangkok
    MS-Off Ver
    2010
    Posts
    80

    Re: Data Cleaning

    Hi millz,

    Yes, the second "AA1" is my mistake. Sorry for that.

    Your work is so great without any error.
    So, my data cleaning has been completed.

    Thank you and have a nice day

    N.B. I have added a reputation to your profile.

    Hi everyone,

    Thank you for your visit and your comment.

+ 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. cleaning DATA
    By OSK in forum Excel General
    Replies: 1
    Last Post: 10-30-2014, 09:51 AM
  2. Cleaning up data
    By aldek in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-24-2012, 12:24 AM
  3. Cleaning data
    By cool.chatbot in forum Excel General
    Replies: 11
    Last Post: 02-09-2011, 03:31 AM
  4. Need Help With Cleaning Data
    By fennman in forum Excel General
    Replies: 6
    Last Post: 07-10-2008, 06:42 AM
  5. #NA, cleaning data!
    By thardy in forum Excel General
    Replies: 7
    Last Post: 02-26-2007, 06:39 PM
  6. Data cleaning, HELP!
    By a303 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-06-2007, 01:43 AM
  7. Data cleaning
    By a303 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-20-2007, 03:10 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