Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
annem
 
Posts: n/a
Default Searching a Range for a number over 40

I have a row of numbers that containing hours worked and I want to know if
any of them are over 40. What formula should I use to tell if there are any?
It seemed that an IF statement something like this would work.
=IF(A3:cc340,"yes","no") but I'm not sure what the proper syntax for the
range is. Because I get the error #VALUE!. Simple I'm sure, but I can't
find it in Help. Annem
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JulieD
 
Posts: n/a
Default Searching a Range for a number over 40

Hi Annem

One option
=IF(COUNTIF(A3:CC3,"40"),"yes","no")

--
Cheers
JulieD


julied_ng at hctsReMoVeThIs dot net dot au


"annem" wrote:

I have a row of numbers that containing hours worked and I want to know if
any of them are over 40. What formula should I use to tell if there are any?
It seemed that an IF statement something like this would work.
=IF(A3:cc340,"yes","no") but I'm not sure what the proper syntax for the
range is. Because I get the error #VALUE!. Simple I'm sure, but I can't
find it in Help. Annem

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
annem
 
Posts: n/a
Default Searching a Range for a number over 40

Works Great !!! Thanks !

"JulieD" wrote:

Hi Annem

One option
=IF(COUNTIF(A3:CC3,"40"),"yes","no")

--
Cheers
JulieD


julied_ng at hctsReMoVeThIs dot net dot au


"annem" wrote:

I have a row of numbers that containing hours worked and I want to know if
any of them are over 40. What formula should I use to tell if there are any?
It seemed that an IF statement something like this would work.
=IF(A3:cc340,"yes","no") but I'm not sure what the proper syntax for the
range is. Because I get the error #VALUE!. Simple I'm sure, but I can't
find it in Help. Annem

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
How to set print range for a number of worksheets tntvk Excel Discussion (Misc queries) 5 December 12th 05 05:00 PM
Formula to determine whether number falls within range?? Cat Excel Worksheet Functions 4 September 17th 05 03:01 AM
Check if a number exists in a range? gkaste Excel Discussion (Misc queries) 2 July 13th 05 08:00 PM
count number of years 2003 in a range of dates Stan Altshuller Excel Worksheet Functions 2 May 3rd 05 07:15 PM
Select same range from large number of workbooks BillC Excel Worksheet Functions 2 February 18th 05 08:59 PM


All times are GMT +1. The time now is 12:52 PM.

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"