Need to trigger a warning, if any cell in a column exceeds two
Maybe this:
=IF(COUNTIF(Roster!AH$19:AH$76,"2"),"You are trying to schedule a part-time
cashier more than twice as a cashier!","").
--
Biff
Microsoft Excel MVP
"Ray" wrote in message
ps.com...
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
$762,"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
|