LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default how do i add an error message if someone enters wrong data

Use Custom data validation... This checks Cells B2:C2 to ensure that they
equal 100

=NOT(AND(COUNT($B2:$C2)1, SUM($B2:$C2)<100))

The count is there to only validate if both cells are filled in.
--
HTH...

Jim Thomlinson


"Mike" wrote:

Thanks Jim,

Done that but one problem.... I want the error message to come up if it does
not = 100. This is generated from two other cells (a formula). ie 30 + 60
do not = 100 so i want the error to come up then. How can i make this work?
I know i could just higlight the cell in conditional formatting but i need it
to be more obvious

Thanks

"Jim Thomlinson" wrote:

On your menu bar you will find

Data - Validation

This allows you to validate the data enetered in a cell and dispay an error
/ alert message if it does not meet certain standards.
--
HTH...

Jim Thomlinson


"Mike" wrote:

Im looking at setting up a worksheet and want some error messages to appear
if operators but incorrect information. Please help?!

Mike

 
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
Error Message :A value used in the formula is of the wrong data ty Graham Excel Worksheet Functions 4 June 16th 09 03:51 PM
Error message when trying data validation Cam1234 Excel Discussion (Misc queries) 3 April 1st 08 11:28 PM
Data Validation error message Peggy Excel Worksheet Functions 1 January 30th 08 04:28 PM
external data error message [email protected] Excel Discussion (Misc queries) 0 March 1st 07 07:02 AM
Date enters wrong #'s Frustrated_rich99 New Users to Excel 2 December 7th 06 01:06 PM


All times are GMT +1. The time now is 10:04 PM.

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

About Us

"It's about Microsoft Excel"