+ Reply to Thread
Results 1 to 5 of 5

to filter blank cells but it has a formula

  1. #1
    Forum Contributor
    Join Date
    10-24-2012
    Location
    San Diego, USA
    MS-Off Ver
    Excel 2019
    Posts
    870

    to filter blank cells but it has a formula

    I have this macro works fine, I just want to add 1 more criteria
    Please Login or Register  to view this content.
    the value in field 9 is empty but it has a formula like this =IFERROR(G224*H224,"")

    what do I need to change on this line :
    Range("$A$1").CurrentRegion.AutoFilter Field:=9, Criteria1:="="

    please help

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: to filter blank cells but it has a formula

    . .
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: to filter blank cells but it has a formula

    This will filter (hide) blanks including from formulas.

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    10-24-2012
    Location
    San Diego, USA
    MS-Off Ver
    Excel 2019
    Posts
    870

    Re: to filter blank cells but it has a formula

    that works! thank you AlphaFrog !

  5. #5
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: to filter blank cells but it has a formula

    You're welcome. Thanks for the feedback.

+ 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. Filter blank cells based on dropdown
    By Fogojam in forum Excel General
    Replies: 3
    Last Post: 05-05-2016, 12:41 PM
  2. Fill Blank cells in a row using Advanced Filter
    By mlafrance in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-29-2015, 10:25 PM
  3. Ignoring Blank Cells - Advanced Filter
    By ayvee0 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-04-2013, 05:23 PM
  4. Filter out blank cells in large spreadsheet
    By toadeh in forum Excel General
    Replies: 3
    Last Post: 10-04-2012, 10:02 AM
  5. Advanced filter with blank cells / Dynamic named range with blank cells
    By Jason_2112 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-15-2010, 12:06 PM
  6. Advanced filter finding blank cells
    By Nigel in forum Excel General
    Replies: 1
    Last Post: 02-05-2010, 09:54 AM
  7. [SOLVED] How do I use advanced filter to filter for blank cells?
    By Monique in forum Excel General
    Replies: 2
    Last Post: 03-21-2006, 02:45 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