+ Reply to Thread
Results 1 to 7 of 7

Data Validation List That Cannot Be Left Blank

  1. #1
    Registered User
    Join Date
    10-27-2012
    Location
    Uk
    MS-Off Ver
    Excel 2010
    Posts
    98

    Question Data Validation List That Cannot Be Left Blank

    Hi All

    I can't believe this question hasn't been asked before, yet I can't find anything for Googling or in previous posts.
    If anyone would know the answer though, it's the people in this great forum

    I'm trying to find out if there's a way to use data validation to reference a range of cells for a dropdown list, whilst also disallowing the user to leave the cell blank

    So I have this dropdown list setup. But it's essential a report frequency is always selected.
    How can I stop the user from deleting the cell contents and leaving it blank?

    Picture1.png

    Any advice welcome
    All the best
    Vicky

  2. #2
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Data Validation List That Cannot Be Left Blank

    Theoretically one could add that list of items to the Data Validation value so that only the values in the list can populate the cell.

  3. #3
    Registered User
    Join Date
    10-27-2012
    Location
    Uk
    MS-Off Ver
    Excel 2010
    Posts
    98

    Re: Data Validation List That Cannot Be Left Blank

    Hi Maniacb

    I'm not sure I follow you?

    I currently have a data validation list set to point at a named ranged called 'Frequency' on another sheet, and the option checked to show an error message if the user tries to enter anything that's not on the list

    Picture4.png

    But how do I stop the user leaving the cell blank?

    All the best
    V
    Last edited by vwhite; 06-13-2020 at 06:16 PM.

  4. #4
    Registered User
    Join Date
    03-23-2020
    Location
    UMINA BEACH, NSW
    MS-Off Ver
    2019
    Posts
    21

    Re: Data Validation List That Cannot Be Left Blank

    I have used conditional formatting in the past to ensure that certain things get filled in to complete a sheet. One way is to have a warning which is switched on after the 'user' has commenced input. I have done this with white formatted text on the sheet which is triggered to red via the CF rule. An example would be similar to "INPUT is REQUIRED - use dropdown".

  5. #5
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Data Validation List That Cannot Be Left Blank

    HappierThan has a good solution and you are correct that blanks are allowed. Another way You can resolve this is with a worksheet-change code like this below:

    Please Login or Register  to view this content.
    Where K65 is the range in question and you force a value before exiting the sub. I hope it helps
    Last edited by maniacb; 06-13-2020 at 09:00 PM. Reason: Update code with Intersect Check

  6. #6
    Registered User
    Join Date
    10-27-2012
    Location
    Uk
    MS-Off Ver
    Excel 2010
    Posts
    98

    Re: Data Validation List That Cannot Be Left Blank

    Ha! Excellent! That sounds like it should work. I shall give it a go in the morning. Thank you

  7. #7
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Data Validation List That Cannot Be Left Blank

    If that takes care of your original question, please select*Thread Tools*from the menu link above and mark this thread as SOLVED.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. Adding a blank in Data Validation List?
    By Pheasant Plucker® in forum Excel General
    Replies: 15
    Last Post: 09-18-2018, 08:49 AM
  2. Right to left validation of blank cells
    By Dan_B in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-18-2016, 02:55 PM
  3. [SOLVED] Skip blank spaces in data validation list
    By skip2mylew in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-04-2013, 09:20 PM
  4. Remove blank entries from data validation list
    By Icarus in forum Excel General
    Replies: 7
    Last Post: 11-08-2012, 01:56 AM
  5. Replies: 3
    Last Post: 01-19-2010, 06:06 AM
  6. Data Validation List with only non-blank cells
    By mv835 in forum Excel General
    Replies: 10
    Last Post: 12-20-2009, 02:51 AM
  7. MACRO to check validation dropdowns left blank
    By Daimez in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 10-31-2008, 05:12 AM

Tags for this Thread

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