Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default COUNTIF with a range of time values

I am trying to count the entries based on a range of time values in a
different worksheet but in the same work book. Example:
=COUNTIF(Tickets!G:G,"<24:00""16:59") where "Tickets" is the other worksheet
name and I would like to count those extries in column G which have a value
between 16:59 and 24:00.

Thank You
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default COUNTIF with a range of time values

It would be better if you can show some samples...or let us know exactly in
what format you have entered the time values.Try the below

=COUNTIF(Tickets!G:G,"16:59")-COUNTIF(Tickets!G:G,"24:00")

If this post helps click Yes
---------------
Jacob Skaria


"Kazman" wrote:

I am trying to count the entries based on a range of time values in a
different worksheet but in the same work book. Example:
=COUNTIF(Tickets!G:G,"<24:00""16:59") where "Tickets" is the other worksheet
name and I would like to count those extries in column G which have a value
between 16:59 and 24:00.

Thank You

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default COUNTIF with a range of time values

=COUNTIF(Tickets!G:G,"<24:00""16:59")

One way:

Use cells to hold the time boundaries:

A1 = 16:59
B1 = 24:00

=COUNTIF(Tickets!G:G,""&A1)-COUNTIF(Tickets!G:G,"="&B1)

--
Biff
Microsoft Excel MVP


"Kazman" wrote in message
...
I am trying to count the entries based on a range of time values in a
different worksheet but in the same work book. Example:
=COUNTIF(Tickets!G:G,"<24:00""16:59") where "Tickets" is the other
worksheet
name and I would like to count those extries in column G which have a
value
between 16:59 and 24:00.

Thank You



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
SUMPRODUCT or SUMIF if any values in a range equal any values in another range PCLIVE Excel Worksheet Functions 3 July 15th 09 07:43 PM
Countif in a time range smcmoran Excel Worksheet Functions 5 October 16th 08 04:26 PM
How do I Countif for a range of values iMartyn Excel Discussion (Misc queries) 4 December 8th 05 09:52 PM
COUNTIF or not to COUNTIF on a range in another sheet Ellie Excel Worksheet Functions 4 September 15th 05 10:06 PM
Creating an EXCEL COUNTIF formula for a range of values Pat Walsh Excel Discussion (Misc queries) 5 January 21st 05 02:57 PM


All times are GMT +1. The time now is 01:23 PM.

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

About Us

"It's about Microsoft Excel"