#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 54
Default error pop up

how can i make error message pop up when certain predefined mandatory cell
(say C1,D1 &E1) left blank?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default error pop up

To make sure these fields are filled...

1. Select the range or the entire worksheet.

2. Enter the below formula in DataValidationCustom and uncheck Ignore blank
=AND($C$1<"",$D$1<"",$E$1<"")

3. Enter an error message say "Cells C1,D1 and E1 are Mandatory" in Data
ValidationError Alert....and click OK.

4. Select the cells C1,D1,E1 and clear all from EditClearAll


If this post helps click Yes
---------------
Jacob Skaria


"aditya" wrote:

how can i make error message pop up when certain predefined mandatory cell
(say C1,D1 &E1) left blank?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 54
Default error pop up

hi jacob,
it's helpful but i need further help

(1)error message should pop up while i cross cell C1/D1/E1 without filling
it.
right now its showing even if i am at cell A1

(2) If i fill C1 but left blank D1 & E1 message should only be for D1 &E1

"Jacob Skaria" wrote:

To make sure these fields are filled...

1. Select the range or the entire worksheet.

2. Enter the below formula in DataValidationCustom and uncheck Ignore blank
=AND($C$1<"",$D$1<"",$E$1<"")

3. Enter an error message say "Cells C1,D1 and E1 are Mandatory" in Data
ValidationError Alert....and click OK.

4. Select the cells C1,D1,E1 and clear all from EditClearAll


If this post helps click Yes
---------------
Jacob Skaria


"aditya" wrote:

how can i make error message pop up when certain predefined mandatory cell
(say C1,D1 &E1) left blank?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default error pop up

On your two points

1. In step 4 select the range (cells/columns) in which you dont need the
validation.

2. Customised messages will be possible only through a macro..With data
validation; one validation condition can only go with 1 error message.

PS: It is always helpful if you can elaborate your issue/requirement in the
first post itself...

If this post helps click Yes
---------------
Jacob Skaria


"aditya" wrote:

hi jacob,
it's helpful but i need further help

(1)error message should pop up while i cross cell C1/D1/E1 without filling
it.
right now its showing even if i am at cell A1

(2) If i fill C1 but left blank D1 & E1 message should only be for D1 &E1

"Jacob Skaria" wrote:

To make sure these fields are filled...

1. Select the range or the entire worksheet.

2. Enter the below formula in DataValidationCustom and uncheck Ignore blank
=AND($C$1<"",$D$1<"",$E$1<"")

3. Enter an error message say "Cells C1,D1 and E1 are Mandatory" in Data
ValidationError Alert....and click OK.

4. Select the cells C1,D1,E1 and clear all from EditClearAll


If this post helps click Yes
---------------
Jacob Skaria


"aditya" wrote:

how can i make error message pop up when certain predefined mandatory cell
(say C1,D1 &E1) left blank?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Basic Error Run Time Error, Type Mismatch Meg Partridge Excel Discussion (Misc queries) 12 September 10th 08 06:10 PM
Counting instances of found text (Excel error? Or user error?) S Davis Excel Worksheet Functions 5 September 12th 06 04:52 PM
I have Error 1919 Error Configuring ODBC dataSource Database Texanna1 Excel Discussion (Misc queries) 1 September 12th 06 06:35 AM
Excel 2003 Macro Error - Runtime error 1004 Cow Excel Discussion (Misc queries) 2 June 7th 05 01:40 PM


All times are GMT +1. The time now is 02:31 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"