Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I have a spread sheet that I need to count if -
If Column T is equal to a certain name (Davis) then I want to count the times that are in Column AR that are less than or equal to 00:30. Column T has numerous last names, so I need to specify who I want the times on. Thanks for any help. |
#2
![]() |
|||
|
|||
![]()
One way:
Assume you specify the name in cell S1. Then =SUMPRODUCT(--(T1:T1000=S1), --(AR1:AR1000<=TIME(0,30,0))) or, equivalently: =SUMPRODUCT(--(T1:T1000=S1), --(AR1:AR1000<=1/48)) In article , Denise wrote: I have a spread sheet that I need to count if - If Column T is equal to a certain name (Davis) then I want to count the times that are in Column AR that are less than or equal to 00:30. Column T has numerous last names, so I need to specify who I want the times on. Thanks for any help. |
#3
![]() |
|||
|
|||
![]()
try the sumproduct() function
= sumproduct(--(T1:T1000="Davis"),--(timevalue(AR1:AR1000)<=timevalue(00:30))) the --( changes the logical true false to a 1,0 numeric the arrays in each section must be the same size and can not be the shorthand for entire columns "Denise" wrote: I have a spread sheet that I need to count if - If Column T is equal to a certain name (Davis) then I want to count the times that are in Column AR that are less than or equal to 00:30. Column T has numerous last names, so I need to specify who I want the times on. Thanks for any help. |
#4
![]() |
|||
|
|||
![]()
=SUMPRODUCT(--(T1:T100="Davis"),--(AR1:AR100<=TIME(0,30,0)),AR1:AR100)
format the cell as [hh]:mm to cater for more than 24 hours -- HTH RP (remove nothere from the email address if mailing direct) "Denise" wrote in message ... I have a spread sheet that I need to count if - If Column T is equal to a certain name (Davis) then I want to count the times that are in Column AR that are less than or equal to 00:30. Column T has numerous last names, so I need to specify who I want the times on. Thanks for any help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Same Question with one more addition of a dash to count | Excel Discussion (Misc queries) | |||
Count Position of Filtered TEXT cells in a column | Excel Worksheet Functions | |||
To Bob ( count question ) | Excel Discussion (Misc queries) | |||
complex count question | Excel Worksheet Functions | |||
Count function question | Excel Worksheet Functions |