PC Review


Reply
Thread Tools Rate Thread

How can I make Excel give me a warning message?

 
 
Ray
Guest
Posts: n/a
 
      19th Aug 2007
I need to have Excel give me a warning message on worksheet 2
("Monday"), if any cell (19-76) in column AH, on worksheet 1
("Roster") exceeds 2.

I thought that this would work, but it doesn't: =IF(Roster!AH$19:AH
$76>2,"You are trying to schedule a part-time cashier more than twice
as a cashier!","").

All I get is a "#Value!" error.

I know that this can't be a very hard thing to do with Excel, but then
I am a complete rookie, so any help would be greatly appreciated.

--Ray

 
Reply With Quote
 
 
 
 
alasdair_gifford@hotmail.com
Guest
Posts: n/a
 
      19th Aug 2007
On Aug 19, 5:02 pm, Ray <rayro...@msn.com> wrote:
> I need to have Excel give me a warning message on worksheet 2
> ("Monday"), if any cell (19-76) in column AH, on worksheet 1
> ("Roster") exceeds 2.
>
> I thought that this would work, but it doesn't: =IF(Roster!AH$19:AH
> $76>2,"You are trying to schedule a part-time cashier more than twice
> as a cashier!","").
>
> All I get is a "#Value!" error.
>
> I know that this can't be a very hard thing to do with Excel, but then
> I am a complete rookie, so any help would be greatly appreciated.
>
> --Ray



You need to add the MAX function, formula should read:

=IF(MAX(Roster!AH$19:AH$76)>2,"You are trying to schedule a part-time
cashier more than twice as a cashier!","")

Giff

 
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 3 8th Aug 2007 03:48 PM
How do I get Excel to give me a warning, if a given cell contains a given number? Ray Microsoft Excel Programming 2 13th Jul 2007 03:18 AM
Is outlook 2002 able to give a warning message if there aren't any files attachment? Frank Microsoft Outlook Discussion 2 13th Jun 2006 03:51 AM
how can you make your signature "slide" into the message or give . =?Utf-8?B?TWljaGVsbGVL?= Microsoft Outlook Discussion 0 1st Mar 2005 08:25 PM
Locked files give no warning message. =?Utf-8?B?c2VhdHRsZTg4?= Microsoft Word Document Management 0 13th Sep 2004 02:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:09 PM.