+ Reply to Thread
Results 1 to 7 of 7

Hide cell if certian cells equal a certian criteria

  1. #1
    Forum Contributor
    Join Date
    08-11-2013
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    270

    Hide cell if certian cells equal a certian criteria

    Hi,
    Im not sure if this is possible but i thought i would check anyway.
    Im making an invoice for a friend.
    The invoice itself simply equals cells from a drop down in the columns to the right hand side. (highlight yellow)
    What im looking to do is if any of the cells in column I equals - - i would like the cells b16:f16 to hide within the same row from the invoice and if there is something in column I that isn’t - - i would like them to reappear.
    Can this be done?
    Many Thanks
    Luke
    Attached Files Attached Files

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: Hide cell if certian cells equal a certian criteria

    Hello,
    How would you change cell I16 if row 16 is hidden?

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,673

    Re: Hide cell if certian cells equal a certian criteria

    What do you mean by "hide"? You can't hide cells, you can only hide entire rows. You can modify your formulas so that blanks are shown in B:F when I is "--". Is that what you mean? See attached for an example.

    You are using "$" unnecessarily on row numbers in formulas in B:F. This prevents formulas from being copied downwards. I have removed this.

    You are using SUM with only one value as an argument. This is not harmful but unnecessary and adds clutter, so I have removed it.

    (If you want to truly hide the row, that can be done with macros, but then you can't see the dropdown anymore to change it.)
    Attached Files Attached Files
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Forum Contributor
    Join Date
    08-11-2013
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    270

    Re: Hide cell if certian cells equal a certian criteria

    What is I was to have the drop down on a different sheet?

    The whole row can be hidden then.

    I could then change the view to show the 2 sheets split on one screen?

    Can this be done?

    Thanks for your help so far.

  5. #5
    Forum Contributor
    Join Date
    02-24-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    317

    Re: Hide cell if certian cells equal a certian criteria

    You can't hide cells, but you can change the color of the font to white. That would almost be the equavilent.
    Add this to your code;
    Please Login or Register  to view this content.
    If I helped in any way, please click the star

  6. #6
    Forum Contributor
    Join Date
    08-11-2013
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    270

    Re: Hide cell if certian cells equal a certian criteria

    If I have the drop downs on another sheet I can go with the hide the whole row macro, I just don't know where to start with it.

  7. #7
    Forum Contributor
    Join Date
    02-24-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    317

    Re: Hide cell if certian cells equal a certian criteria

    Namluke,
    Take a look at the file 6StringJazzer gave you. He changed the formulas in column B so that the text hides when column I of the same row is equal to "--"

    Seems like this is the solution you need, rather than VBA.

+ 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. Copy and paste data if certian criteria is met
    By namluke in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-29-2014, 08:35 AM
  2. Retrieving Data that meets a certian criteria
    By Otaishtf in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-26-2013, 03:43 AM
  3. Anyway to auto Capitalization on certian cells?
    By jakweeze in forum Excel General
    Replies: 12
    Last Post: 05-06-2011, 07:41 PM
  4. Counting cells of a certian value .....
    By Carl1966 in forum Excel General
    Replies: 5
    Last Post: 06-18-2009, 09:26 AM
  5. how to sum a repeated val only once and meet a certian criteria?
    By DaGersh in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-21-2006, 09:20 PM

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