+ Reply to Thread
Results 1 to 2 of 2

how to generate error message for an empty cell (mandatory input cell)

  1. #1
    Registered User
    Join Date
    05-19-2012
    Location
    b
    MS-Off Ver
    Excel 2003
    Posts
    7

    how to generate error message for an empty cell (mandatory input cell)

    Hi All,
    I am getting inputs from users..I am making few fields as mandatory and user has to give inputs there..
    How can I generate error message if user is not giving any input on those cells?
    -Sankar

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: how to generate error message for an empty cell (mandatory input cell)

    Hi

    One way is using Custom Validation, to force users to type values.

    Example:

    In range B1:K1, don't allow to type nothing IF, A1, is empty.

    So highlight B1:K1. In custom Validation rules, type =COUNTA($A$1)>0

    So, if there is no text in A1, user can type nothing in this range.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ 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