Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 

novicee

Excel 2007 : Is it possible to conditionally hide a row?

Recommended Posts

novicee    0

Excel 2007 : Is it possible to conditionally hide a row?

Is it possible to make the visibility of a row conditional on a value in a cell of the row? For example, can a row be hidden if the first cell of the row contains the value 5 but otherwise the row is visible?

Ditto question for columns.

The question comes up in the context of time series that are step functions.

Any help would be appreciated. I couldn't find an answer in Excel 2007 Help.

- Novice

Edited by novicee

Share this post


Link to post
Share on other sites
IcemanND    0

You could use the Filter feature on the Data tab to filter rows but not columns.

If both are needed I think you would have to use a VBA function called on a worksheet change if you want it to happen any time a monitored value changes.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×