Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
khux
 
Posts: n/a
Default SUMIF function question

Hi guys,

I am trying to count the instances between 15 minutes periods.

For example my data is:

12:05:34
12:11:45
12:12:12
12:14:43
12:15:59

I want my function to calculate how many instances there are between
12:00:00 am and 12:15:00 am. (for the above data it would be 4).

Can anyone help me?

Thanks!

khux
  #2   Report Post  
Elkar
 
Posts: n/a
Default SUMIF function question

Let's assume your data is stored in cells A1:A5.

=COUNTIF(A1:A5,"=12:00:00")-COUNTIF(A1:A5,"12:15:00")

This calculation may change the format of the cell to display time, so in
that case you'd need to change the format back to General (or whatever you
need).

HTH,
Elkar

"khux" wrote:

Hi guys,

I am trying to count the instances between 15 minutes periods.

For example my data is:

12:05:34
12:11:45
12:12:12
12:14:43
12:15:59

I want my function to calculate how many instances there are between
12:00:00 am and 12:15:00 am. (for the above data it would be 4).

Can anyone help me?

Thanks!

khux

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 nest a left function within a sumif function? LisaK Excel Worksheet Functions 2 April 23rd 23 11:46 AM
How do I use the TODAY function with the SUMIF function? Lisa B. Excel Worksheet Functions 2 September 30th 05 08:51 PM
Array Function Question Henrik Excel Worksheet Functions 1 June 8th 05 02:24 AM
Dynamic Function Reference Question excel newbie Excel Discussion (Misc queries) 1 April 20th 05 08:09 PM
How to combine a vlookup with a sumif function!!! Mark the Shark Excel Discussion (Misc queries) 2 April 6th 05 11:54 AM


All times are GMT +1. The time now is 03:26 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"