+ Reply to Thread
Results 1 to 8 of 8

column with validation cell's sorted has to show blanks when cell and above cell are equal

  1. #1
    Forum Contributor
    Join Date
    07-16-2009
    Location
    DutchLand
    MS-Off Ver
    Excel MacOS 16
    Posts
    161

    Question column with validation cell's sorted has to show blanks when cell and above cell are equal

    Okay, Title is very clear about this, that s what I want. Piece of cake, right?


    In the first column I do have validation fields with a validation to room types. If I sort them Then I would like to see only the first validation cell visible and the similar named hidden TILL the next in the column is different.
    Unsorted or altered/edited to or off a different room I want to see the validated input visible. I hope the two images are clear about this.
    The lines will be drawn using a macro that I am writing right now.

    I would love to see something like this. See top image

    But will start from this... See lower second image

    Is this doable?

    My thought was to add to the drawing lines macro to check with application.caller.row if the row above has the same value then hide it, by using

    Please Login or Register  to view this content.
    , but I guess it could maybe easier. Maybe with just cell formula's?


    As always thanks again for the info.
    The WB is actually very big and will make a small copy and upload that.
    Last edited by lord anubis; 02-21-2020 at 12:56 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,455

    Re: column with validation cell's sorted has to show blanks when cell and above cell are e

    You seem to have forgotten to attach the actual workbook.

    I will move this to the VBA section, as you seem to be asking about code.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    07-16-2009
    Location
    DutchLand
    MS-Off Ver
    Excel MacOS 16
    Posts
    161

    Re: column with validation cell's sorted has to show blanks when cell and above cell are e

    Hi, you'r fast.
    I am not that fast. Not forgotten, but busy car stripping. Just making coffee.

    If it will be doable with code its okay, but I did hope to get it working without code.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,455

    Re: column with validation cell's sorted has to show blanks when cell and above cell are e

    OK - my misunderstanding - I'll move it back!!!

  5. #5
    Forum Contributor
    Join Date
    07-16-2009
    Location
    DutchLand
    MS-Off Ver
    Excel MacOS 16
    Posts
    161

    Re: column with validation cell's sorted has to show blanks when cell and above cell are e

    Added the workbook. in both sections it is good too.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,455

    Re: column with validation cell's sorted has to show blanks when cell and above cell are e

    Unfortunately, it can only be in one section, as you know.

  7. #7
    Forum Contributor
    Join Date
    07-16-2009
    Location
    DutchLand
    MS-Off Ver
    Excel MacOS 16
    Posts
    161

    Re: column with validation cell's sorted has to show blanks when cell and above cell are e

    Anyone a suggestion, even if it is in code?
    Maybe move it to the vba area. Sorry about that.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,455

    Re: column with validation cell's sorted has to show blanks when cell and above cell are e

    Moved again.

+ 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] Get data from the other sheet ,but sorted , unique and without blanks
    By leprince2007 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-21-2019, 02:43 PM
  2. Replies: 2
    Last Post: 01-20-2017, 06:04 PM
  3. [SOLVED] Drop down list sorted with no blanks no dups
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 01-17-2015, 07:56 PM
  4. Data Validation to circle blanks cells between filled cells
    By jamiem4 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-16-2014, 05:58 PM
  5. [SOLVED] Set cell equal to variable cell (from set column) based on cells in adjacent column
    By alter54 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-24-2014, 01:04 PM
  6. [SOLVED] count number of cells in Column C that have a lesser or equal value to the adjacent cell
    By Geoff Jones in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-18-2013, 11:01 AM

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