PC Review


Reply
Thread Tools Rate Thread

How do I get Excel to give me a warning, if a given cell contains a given number?

 
 
Ray
Guest
Posts: n/a
 
      13th Jul 2007
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.

 
Reply With Quote
 
 
 
 
=?Utf-8?B?Sm9lbA==?=
Guest
Posts: n/a
 
      13th Jul 2007
highlight column U - copy and then paste.

"Ray" wrote:

> 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.
>
>

 
Reply With Quote
 
Ray
Guest
Posts: n/a
 
      13th Jul 2007
On Jul 12, 5:52 pm, Joel <J...@discussions.microsoft.com> wrote:
> highlight column U - copy and then paste.
>
>
>
> "Ray" wrote:
> > 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.- Hide quoted text -

>
> - Show quoted text -




Copy and paste doesn't work; tried that...unless I misunderstood what
you meant. I was looking for something that would use Excel as it was
meant to be used, without having to copy and paste things, in order to
see the results of a column. Thank you for your suggestion, anyway.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I make Excel give me a warning message? Ray Microsoft Excel Programming 1 19th Aug 2007 05:52 PM
How can I make Excel give me a warning message? Ray Microsoft Excel Programming 3 8th Aug 2007 03:48 PM
Can excel give value in words of number entered in another cell? =?Utf-8?B?bml2ZWRyYWplc2g=?= Microsoft Excel Worksheet Functions 4 27th Oct 2006 02:57 PM
have a cell give warning =?Utf-8?B?YmlsbHkgYm95?= Microsoft Excel Misc 11 15th Dec 2005 07:43 PM
In Excel Sheet how I can give Number bullets in the series of cell =?Utf-8?B?QWxwZXNoIFBhdGVs?= Microsoft Excel Misc 4 8th Oct 2004 10:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:16 PM.