Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Need to trigger a warning, if any cell in a column exceeds two

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

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default Need to trigger a warning, if any cell in a column exceeds two

Try:

=IF(COUNTIF(Roster!AH$19:AH$76, "2"), "Yor are trying...", "")

Greg
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
trigger data validation warning Dave F Excel Discussion (Misc queries) 1 April 23rd 07 08:20 PM
Change cell color if date exceeds formula Harry K Excel Discussion (Misc queries) 1 March 9th 07 09:51 AM
add text in a cell to trigger a calculation noddy47 Excel Worksheet Functions 3 October 24th 06 09:02 AM
How to make a cell trigger a Sound in Excel justice Excel Worksheet Functions 3 July 11th 06 10:22 AM
if the cell value exceeds the limit to have a dialog box appear Dschro Excel Discussion (Misc queries) 2 December 15th 05 09:33 PM


All times are GMT +1. The time now is 06:05 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"