+ Reply to Thread
Results 1 to 11 of 11

only show/highlight rows where a certain word appears in any column

  1. #1
    Forum Contributor
    Join Date
    06-29-2011
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    122

    only show/highlight rows where a certain word appears in any column

    hi, ive been trying to autofilter, conditional format etc a spreadsheet so that it only shows/highlights rows where the words 'film' and/or 'development' and/or 'production' appears in any of the columns (A to I).

    i cant get it to work after hours of playing around, any ideas?

    I guess an alternative method would be to delete all rows where any of the specified words 'do not' appear...any help much appreciated.
    Last edited by intothewild; 03-28-2012 at 03:23 PM.

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: only show/highlight rows where a certain word appears in any column

    Try (You might need to change the range

    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: only show/highlight rows where a certain word appears in any column

    Ignore my last post, I didn't read the post carefully. Try (The macro loop from row #1 to row #18. You might need to adopt the macro as you go along with ti)

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    06-29-2011
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    122

    Re: only show/highlight rows where a certain word appears in any column

    that hid all rows

  5. #5
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: only show/highlight rows where a certain word appears in any column

    Can you post a sample file?

  6. #6
    Forum Contributor
    Join Date
    06-29-2011
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    122

    Re: only show/highlight rows where a certain word appears in any column

    file wont upload for some reason just getting a red exclamation mark

  7. #7
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: only show/highlight rows where a certain word appears in any column

    Take a look at the attachment. I am not exactly sure why the macro wont' work for you.
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    06-29-2011
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    122

    Re: only show/highlight rows where a certain word appears in any column

    i can see why now...because in my cells, the words 'film' or 'development' or 'production' always form part of a small sentence in each cell, these words never appear on their own, it wont find a cell with just 'film' or 'development' or 'production', so it hides all of the rows.

  9. #9
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: only show/highlight rows where a certain word appears in any column

    In that case, change the code to

    Please Login or Register  to view this content.

  10. #10
    Forum Contributor
    Join Date
    06-29-2011
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    122

    Re: only show/highlight rows where a certain word appears in any column

    you sir, are my hero! if your ever over here in scotland, shout me, i owe you a drink pal!

  11. #11
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: only show/highlight rows where a certain word appears in any column

    Haha. Sounds good. I will remember that when I visit Scotland once 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