+ Reply to Thread
Results 1 to 8 of 8

How to hide a row if it contains N/A, what type of formula would work with that?

  1. #1
    Registered User
    Join Date
    12-12-2013
    Location
    virginia
    MS-Off Ver
    Excel 2010
    Posts
    2

    How to hide a row if it contains N/A, what type of formula would work with that?

    How to hide a row if it contains N/A, what type of formula would work with that? So far I have 86 rows and about 20 columns...

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: How to hide a row if it contains N/A, what type of formula would work with that?

    Can a filter work?

  3. #3
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: How to hide a row if it contains N/A, what type of formula would work with that?

    Please Login or Register  to view this content.
    Thanks,
    Solus


    Please remember the following:

    1. Use [code] code tags [/code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    Highlight the code in your post and press the # button in the toolbar.
    2. Show appreciation to those who have helped you by clicking below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

    "Slow is smooth, smooth is fast."

  4. #4
    Registered User
    Join Date
    12-12-2013
    Location
    virginia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: How to hide a row if it contains N/A, what type of formula would work with that?

    Already have filters trying to automatically do it at a keystroke when prompted

  5. #5
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: How to hide a row if it contains N/A, what type of formula would work with that?

    Please see code in post #3

  6. #6
    Registered User
    Join Date
    05-22-2012
    Location
    IL
    MS-Off Ver
    Excel 2010
    Posts
    50

    Re: How to hide a row if it contains N/A, what type of formula would work with that?

    Hi Solus,

    I have tried using your code and modified for Columns. Getting an error Invalid use of Me keyword. Did I do something wrong?

    Please Login or Register  to view this content.

  7. #7
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: How to hide a row if it contains N/A, what type of formula would work with that?

    The code needs to be placed in the worksheet module for the sheet it applies to, not a stand alone module or workbook module.

    To navigate to the worksheet module, right click the tab of the worksheet you would like to use to macro on and click 'View Code'. Paste the code there.

  8. #8
    Registered User
    Join Date
    05-22-2012
    Location
    IL
    MS-Off Ver
    Excel 2010
    Posts
    50

    Re: How to hide a row if it contains N/A, what type of formula would work with that?

    Perfect!! Thank you!

+ 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. Hide rows as you type
    By appmaster in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-08-2012, 05:06 AM
  2. Replies: 5
    Last Post: 02-25-2010, 12:43 PM
  3. Hide empty (or NA) cells in a chart with a nod-date type axis
    By penguin09 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-12-2009, 12:48 PM
  4. Replies: 2
    Last Post: 07-11-2006, 11:15 PM
  5. using trim cmd. When I type this command it does not work. When I.
    By Rafiq in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-05-2005, 10:06 AM

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