Closed Thread
Results 1 to 7 of 7

Organise data

  1. #1
    Registered User
    Join Date
    03-21-2007
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    73

    Organise data

    Hi all!

    I need to clean out unnecessary data from a file,
    (see attached text file),
    I'm not sure how to go about this in excel,

    basically every file starts with 9 cells that needs to be deleted,
    two cells of real data then one with garbage that needs to be deleted, it goes like that for 40 cells,
    then again 10 cells of garbage that needs to be deleted, then
    40 of real data and goes like that up to 3000 lines,

    I know it sounds confusing but if you take a look at attached file it will make more sense,

    at the end I need to have
    all cells full of data,

    any help is appreciated!
    Attached Files Attached Files

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475
    Quote Originally Posted by micko_escalade
    Hi all!

    I need to clean out unnecessary data from a file,
    (see attached text file),
    I'm not sure how to go about this in excel,

    basically every file starts with 9 cells that needs to be deleted,
    two cells of real data then one with garbage that needs to be deleted, it goes like that for 40 cells,
    then again 10 cells of garbage that needs to be deleted, then
    40 of real data and goes like that up to 3000 lines,

    I know it sounds confusing but if you take a look at attached file it will make more sense,

    at the end I need to have
    all cells full of data,

    any help is appreciated!
    hi,
    you could zip your xl file and then we would be able to work with it....

  3. #3
    Registered User
    Join Date
    03-21-2007
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    73
    Thanks for the reply!

    attached is the excel file,
    it should look like this Link
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    03-21-2007
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    73
    Just wanted to mention that this is cross-post from MrExcel
    I thought internet is big, but I guess not

  5. #5
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by micko_escalade
    Thanks for the reply!

    attached is the excel file,
    it should look like this Link
    Hi,

    one way, in column B the formula

    =IF(AND(ISNUMBER(A1),LEN(A1)=9),"y","")

    and then autofilter, select Blanks, and delete all blank rows.

    Is this an occasional or one-off, or something required often?

    ---
    Si fractum non sit, noli id reficere.

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    This has been cross posted at both Mr Excel & Ozgrid.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  7. #7
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Closing post as micko_escalade has broken forum rules here & at ozgrid about cross posting

    Thread has been posted to 3 different sites
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

Closed 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