LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default How do I get Excel to give me a warning, if a given cell contains a given number?

I have a column (U2:U52) that contains numbers which are either "1"s
or "2"s. If they are "1"s, then I want Excel to do nothing; however,
if there is a "2" in the cell, then I want Excel to give me an audio
warning, as well as to display a warning message. I assume that I
would use the Data Validation for this. I have gone through the
following process, but cannot get Excel to respond:

a. Highlight the cell
b. Go to "Data" menu
c. Choose "Validation"
d. Choose "Settings Tab"
e. In the "Allow" box, choose "Whole Number"
f. In the "Data" box, choose "Not Equal To"
g. In the "Value" box, type "2"
h. Choose the "Error Alert" Tab
i. In the "Title" box, type "Maximum Hours"
j. In the "Error Message" box, type "Too many hours!"


The "1"s and the "2"s are already existing in the column's cells; I am
not typing them in/manually entering the data. I have discovered
that, if I use the above-listed set of steps, and then manually enter
the data, Excel gives me the response/warning that I want. Isn't
there a way to get Excel to give me the warning, based on data that
already exists in the cells of that column? Is Data Validation not
the right choice or what? Any help would be much appreciated.

 
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
Using time functions to give a warning Colin Hayes Excel Worksheet Functions 6 January 18th 10 11:47 AM
Can excel give value in words of number entered in another cell? nivedrajesh Excel Worksheet Functions 4 October 27th 06 02:57 PM
Reset should give a warning before resetting custom colors. ryders Setting up and Configuration of Excel 0 June 18th 06 01:10 AM
have a cell give warning billy boy Excel Discussion (Misc queries) 11 December 15th 05 07:43 PM
How do I delete the "=" from a cell to give me the phone number I. jbsand1001 Excel Discussion (Misc queries) 3 March 10th 05 08:38 PM


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

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"