+ Reply to Thread
Results 1 to 8 of 8

Hide rows IF #N/A (preferably without marco)

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    03-15-2016
    Location
    Arnhem, The Netherlands
    MS-Off Ver
    2007
    Posts
    102

    Hide rows IF #N/A (preferably without marco)

    I've been searching for this for a while now, but it seems as if this is only possible with a marco, something i have been fooling around with but found out it is beyond my comprehending.

    So basically is there a possibility to formulate a formula which allows me to hide every row that has #N/A in it? (and preferably also some other rows if i could add those in the formula)?

    For example: G88 has an N/B, would it be possible to hide row 88:94?

    I know this probably isn't possible, but i would like to be certain before starting struggling with marcro's again.

    Thanks in advance!

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Hide rows IF #N/A (preferably without marco)

    Hi,

    It is certainly not possible to hide rows / columns by using formulas. You would need VBA for that.

    Please go through the following URLs for help on hide / unhide rows based on result value, you might find them helpful.


    http://excel.tips.net/T001940_Hiding...ell_Value.html

    http://answers.microsoft.com/en-us/o...7955283?auth=1

    https://forums.techguy.org/threads/s...value.1030100/

  3. #3
    Forum Contributor
    Join Date
    03-15-2016
    Location
    Arnhem, The Netherlands
    MS-Off Ver
    2007
    Posts
    102

    Re: Hide rows IF #N/A (preferably without marco)

    Thank you very much for your response, the links were usefull since it gave me the idea to try it with filters.
    After some tweaking i've almost got it exactly how i want it, but there is only one small thing i'm still struggling with:

    If i use the filter to "hide" certain rows out of my sheet,but the page layout changes and some stuff i want to be on page 2 partially goes to page 1, is there anyway to lock the second ''page'' into place? I found out that it is possible to do so with Images, but dind't find a way to do so with text and such.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Hide rows IF #N/A (preferably without marco)

    Put a page break in, under Page Layout tab
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Contributor
    Join Date
    03-15-2016
    Location
    Arnhem, The Netherlands
    MS-Off Ver
    2007
    Posts
    102

    Re: Hide rows IF #N/A (preferably without marco)

    thanks a lot , exactly what i needed!

  6. #6
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,080

    Re: Hide rows IF #N/A (preferably without marco)

    If you're trying to hide rows becuase of ugly #N/A's why not amend the formulas so it doesn't display the #N/A's?
    e.g.

    IFERROR(yourformula,"")
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  7. #7
    Forum Contributor
    Join Date
    03-15-2016
    Location
    Arnhem, The Netherlands
    MS-Off Ver
    2007
    Posts
    102

    Re: Hide rows IF #N/A (preferably without marco)

    Thank you for this suggestion, this is actually what i did, but i still had the need for the empty spaces to disapear, but if kind of done that with a filter (allthough it still needs some tweaking so it will not disturb the lay out) I shall now close this thread, thanks guys!

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Hide rows IF #N/A (preferably without marco)

    Happy to help and 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. [SOLVED] Auto hide/unhide rows that have empty cells ( Preferably VBA Code)
    By carlandtina02 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-09-2016, 07:06 PM
  2. conditional Marco to group rows if value = #
    By petit_Fleur in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-12-2014, 09:00 AM
  3. Hide Rows with a Value (2 values to hide) then delete visible rows
    By Slea in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-19-2013, 06:25 AM
  4. Marco to hide rows based on critera in another row
    By tuke016 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-22-2012, 01:05 PM
  5. Using check boxes to hide and un-hide rows with drop down lists within rows
    By Sparky_Chris in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-24-2012, 07:22 AM
  6. [SOLVED] marco that inserts rows?
    By lloydyleg11 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-06-2006, 07:40 PM
  7. marco that inserts rows?
    By lloydyleg11 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-03-2006, 12:00 AM

Tags for this Thread

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