+ Reply to Thread
Results 1 to 3 of 3

Hide/Unhide rows based on Cell Value

  1. #1
    Registered User
    Join Date
    08-28-2012
    Location
    sc
    MS-Off Ver
    Excel 2010
    Posts
    2

    Hide/Unhide rows based on Cell Value

    Hi,

    I need some assistance is writing a macro (I think?) to hide rows based on cell(s) value.


    I have 4 columns:

    "Number"
    "Name"
    "Last Year $"
    "This Year $"


    If "Last Year $" and "This Year $" = $0, I want to be able to automatically hide the row. I am working with a spreadsheet that has over 200 rows of data.


    I am also interested to know of a way to automatically unhide a row if the statement above is no longer true.


    I do not have alot of experience with macros so any basic help is greatly appreciated. Thanks.

  2. #2
    Forum Contributor thameem127's Avatar
    Join Date
    04-06-2012
    Location
    Jeddah,Saudi Arabia
    MS-Off Ver
    Excel 2003,Excel 2007
    Posts
    321

    Re: Hide/Unhide rows based on Cell Value

    Below link may help you.

    http://www.excelforum.com/excel-gene...ll-result.html
    Last edited by thameem127; 08-28-2012 at 03:51 PM.

  3. #3
    Registered User
    Join Date
    08-28-2012
    Location
    sc
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Hide/Unhide rows based on Cell Value

    Thanks for posting that link. I had actually viewed that post earlier and couldn't figure out to make that example work for me. My scenario has two variables in that two cells must equal $0, then I want it to hide the row.

    If you can help with changing the macro, I would be most appreciative. Thanks.

+ 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