+ Reply to Thread
Results 1 to 12 of 12

Cleaning data

  1. #1
    Registered User
    Join Date
    02-09-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    15

    Question Cleaning data

    I want to eliminate all the rows that have data begging with an alphabet.

    For eg:
    A1 - T12345
    A2 - 123
    A3 - 456
    A4 - BH1
    A5 - BHV

    Result:

    123
    456

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Cleaning data

    A couple of questions

    1/. Do You want to keep for example 123A?
    2/. Are your numbers in number format or are they text?

  3. #3
    Registered User
    Join Date
    02-09-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Cleaning data

    Thanx for the quick reply

    Data is in the text format, however, if u can share the resolution for both number format and text format,then it would be gr8 for me.

    I woud like to keep rows that has numbers in it, no alphabets at all.

    Hope this helps, awaiting response.

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Cleaning data

    Try this (easier if your Data begins in A2)
    In B2
    =IF(ISNUMBER(A2*1),"","DELETE")
    Drag/Fill Down

    Filter on Column B = "DELETE"

    Select the result and Delete > Rows

    Remove the filter

    Hope this helps
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  5. #5
    Registered User
    Join Date
    02-09-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Cleaning data

    It' showing Delete against all cells. Please advise. if it has something to do with the data format.

  6. #6
    Registered User
    Join Date
    02-09-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Cleaning data

    Able to rectify the glitch, values in cell have a space on the right.

  7. #7
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Cleaning data

    If you haven't resolved this, can you post a sample workbook?

  8. #8
    Registered User
    Join Date
    02-09-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Cleaning data

    Its working mate, what if I want to exclude a particular alphabet, I want all the numeric data and the one beginning wid "Q"

  9. #9
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Cleaning data

    Same steps again, but use

    In B2
    =IF(OR(ISNUMBER(A2*1),LEFT(A2,1)="Q"),"","DELETE")

    Hope this helps

  10. #10
    Registered User
    Join Date
    02-09-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Cleaning data

    Super genius.

  11. #11
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Cleaning data

    Happy to have been of some help.

  12. #12
    Registered User
    Join Date
    02-09-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Cleaning data

    Quote Originally Posted by cool.chatbot View Post
    It' showing Delete against all cells. Please advise. if it has something to do with the data format.
    Quote Originally Posted by Marcol View Post
    Happy to have been of some help.
    You made my day.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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