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
|