+ Reply to Thread
Results 1 to 7 of 7

Reject any entry if x cell is blank

  1. #1
    Forum Contributor
    Join Date
    01-20-2014
    Location
    Greece
    MS-Off Ver
    20 yr. old Excel 2002!
    Posts
    710

    Reject any entry if x cell is blank

    Hi
    I want A2 to reject any entries if A1 is blank.
    So, in A2 Data Validation - Custom I TRIED
    =IF(ISBLANK(A1),"",)
    or
    =IF(A1="","",)

    Both did not work.

    Any ideas?

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,880

    Re: Reject any entry if x cell is blank

    =$A$1<>""

    And also uncheck "Ignore blanks".

    For usability, remember to set "Input Message" and "Error Alert".

  3. #3
    Forum Contributor
    Join Date
    01-20-2014
    Location
    Greece
    MS-Off Ver
    20 yr. old Excel 2002!
    Posts
    710

    Re: Reject any entry if x cell is blank

    That does not work either

  4. #4
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,880

    Re: Reject any entry if x cell is blank

    See attached sample.

    Note that without VBA, it will not remove value if A1's value is deleted (it will give warning if you modify value in A2).
    Attached Files Attached Files
    Last edited by CK76; 01-20-2017 at 10:29 PM. Reason: Removed confusing comment.

  5. #5
    Registered User
    Join Date
    01-08-2017
    Location
    Bangladesh
    MS-Off Ver
    2012
    Posts
    7

    Re: Reject any entry if x cell is blank

    Quote Originally Posted by drgkt View Post
    That does not work either
    How this will work? I am interested to learn.

  6. #6
    Registered User
    Join Date
    06-12-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    86

    Re: Reject any entry if x cell is blank

    Dear CK76,
    May we request you to explain as how it has been done. This facility may be used in different versions.

    Kamal Asharaf.

  7. #7
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,880

    Re: Reject any entry if x cell is blank

    Hmm? It's done exactly as it was explained in post#2

+ 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] Format cell to accept only specific character-reject others
    By aetzkin in forum Excel General
    Replies: 4
    Last Post: 06-12-2017, 02:06 PM
  2. SOLVED: Want a blank entry if source cell is blank
    By bkastner in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-18-2015, 05:07 PM
  3. [SOLVED] Force data entry in cell with drop down list (i.e. Prevent user from leaving cell blank)
    By moosetales in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-15-2014, 05:28 AM
  4. Restrict data entry if preceeding cell value is greater than or blank
    By GreggTO in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-07-2013, 11:46 AM
  5. Deleting entire customer entry if one cell is blank?
    By ocdmachine in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-24-2008, 08:24 PM
  6. Replies: 2
    Last Post: 09-18-2008, 05:47 AM
  7. 0 entry vs blank cell
    By Motion in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-08-2006, 08:25 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