How can I make Excel give me a warning message?

R

Ray

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
 
A

alasdair_gifford

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top