+ Reply to Thread
Results 1 to 4 of 4

Text Filter

  1. #1
    Forum Contributor
    Join Date
    09-27-2004
    Posts
    133

    Question Text Filter

    A colleague of mine is using Excel 2013. He has a file (text file) that contains occurrences of a certain letter combination, e.g. "DBG". He is able to use the Data Filter menu to extract only those lines that contain "DBG". When using the Data Filter menu there is a Text Filter field where he enters "DBG".

    I'm using Excel 2003. I can't seem to do the equivalent as stated above from the Data Filter menu. There doesn't seem a place where text, like "DBG" can be entered.

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,956

    Re: Text Filter

    Apply data filters to your range, then select the drop down at the top of the column, and select (Custom...)

    Capture.JPG

    Then you have options > Equals, contains, does not contain, etc.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Forum Contributor
    Join Date
    09-27-2004
    Posts
    133

    Re: Text Filter

    OK, thanks, but I can't seem to get it to work. Below is a portion of the text from which I just want to eliminate all entries EXCEPT those that contain "DBG". Please note that the Time and Date are is Column A, PM is in Column B and the remainder of each row is in Column C.

    Basically, for the text below I want to end up with the following:

    I ------- DBG_000000001B011EEC20EC80808080808080808080
    I ------- DBG_19808080808080808080808080F51FEB1FEB1FEB
    I ------- DBG_188080808080808080F4801EEA1EEA8080808080




    11/10/2016--3:22:00 PM I ------- CUV_TMR_START
    11/10/2016--3:22:00 PM (UI)======= TIMER_START === (0) (0) ========
    11/10/2016--3:22:06 PM (UI)======= SYSTEM_ALERT_ON======== AlertEvent
    11/10/2016--3:22:09 PM I ------- DBG_000000001B011EEC20EC80808080808080808080
    11/10/2016--3:22:18 PM (UI)======= SYSTEM_ALERT_OFF======== AlertEvent
    11/10/2016--3:22:20 PM I ------- DBG_19808080808080808080808080F51FEB1FEB1FEB
    11/10/2016--3:22:22 PM I ------- DISP_S_01_02_04_01
    11/10/2016--3:22:22 PM (UI)======= FIRST_DISPENSE === (0) (0) ========
    11/10/2016--3:22:22 PM --- O --- REA_DAT_4_X_104_1_74 ---------
    11/10/2016--3:22:22 PM I ------- RESP_RG_OK>
    11/10/2016--3:22:29 PM I ------- DISP_F_01_02_04_01
    11/10/2016--3:22:32 PM I ------- DBG_188080808080808080F4801EEA1EEA8080808080
    11/10/2016--3:22:33 PM I ------- RESP_RN_DSPDONE

  4. #4
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,956

    Re: Text Filter

    Select column C and apply data filters. Click the drop down, Choose (Custom...) and select "Does not contain" and in the box to the right, type DBG and click OK. Then select all the visible cells below your header (if you have one), right-click, choose "Delete" and "Entire Row" and click OK. Then remove the filter and you should only have the DBG lines.

+ 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. Replies: 3
    Last Post: 04-09-2020, 09:22 AM
  2. Filter column by text, then export column to new workbook, replace searched text with new.
    By Headhunter234 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-30-2015, 07:48 AM
  3. Replies: 4
    Last Post: 07-17-2014, 12:04 PM
  4. Filter Feature has Text Filters, but I want number filter
    By 6string in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 06-09-2014, 02:57 PM
  5. [SOLVED] Filter Table as i type in textbox1 but when erasing the text filter should be unfilter
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-17-2014, 09:08 AM
  6. Formula to filter out text in text & numbers in a cell
    By Clueless in UK in forum Excel General
    Replies: 4
    Last Post: 11-24-2011, 07:09 AM
  7. Excel 2007 : Filter Random Data Text into a Text Table
    By Miles Tails in forum Excel General
    Replies: 0
    Last Post: 07-26-2009, 03:42 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