Try this
Sub Filter() Application.ScreenUpdating = False On Error Resume Next Dim Rec As Double Dim rng As Range Set rng = Selection Rec = Range("A60000").End(xlUp).Row For i = 1 To Rec If InStr(rng.Cells(i, 1).Formula, Range("C1").Value) Then rng.Cells(i, 0).EntireRow.Hidden = True End If Next Application.ScreenUpdating = True End Sub From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Sara L Sent: Friday, August 19, 2011 6:24 AM To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ filter out the cells with a particular formula hi how do i filter out those cells in a column which has a particular vlookup formula in them... for example in one column in a table, i have vlook up fomula set up for the entire column ... some of the cells have vlook up( with true parameter) and some with (false parameter).... How do i filter only those cells which have true parameter? any macro ? Thanks -- ---------------------------------------------------------------------------- ------ Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel
Filter.xlsm
Description: application/vnd.ms-excel.sheet.macroenabled.12