+ Reply to Thread
Results 1 to 2 of 2

Conditionally Hide Rows Based on cell

  1. #1
    Registered User
    Join Date
    01-08-2013
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    4

    Conditionally Hide Rows Based on cell

    I have a drop down it has three values in C2 Day, Week, Month

    If user selects Day then- rows 1-10 should be hiddenhidden
    If user selects Week then rows - 10-16 & 20-40 should be hidden
    If user selects Month then rows - 10-20 should be hidden

    Can any one help me please. Thank you.
    Last edited by Lulidec; 01-09-2013 at 01:16 PM.

  2. #2
    Registered User
    Join Date
    01-09-2013
    Location
    Arizona
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Conditionally Hide Rows Based on cell

    Can you use macro or would you rather use formulas if possible?

    To use a macro the sheet has to be macro enabled and you'll have to add code and so forth.
    To use formulas, you may have to put a formula in every cell that you want hidden or not using an IF() function. You will link your dropdown to a cell, this cell will then show a 1, 2, or 3 depending on the selection. Then in the data cells you'd have like a 'IF(A1 = 1, "text for first selection", "")'. That's off the top of my head, but if the linked cell A1 has a "1" in it because they selected the first item in the drop down, the cell would show "text for first selection" but if they chose item 2 or 3, the cell would be blank.

    Hope that helps.

+ 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