Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default Countif between Time stamps and have - value

Hi

Really need help for this problem. I have data in time stamp (plus the data also have - value), need to count data that greater than 8:30:00 AM and to minus the "- value". Below are my data

*Date: * log in:
*Sun 1/1/2012 * -
*Mon 2/1/2012 * -
*Tue 3/1/2012 * 8:27:59 AM
*Wed 4/1/2012 * 8:33:01 AM
*Thu 5/1/2012 * 8:06:05 PM
*Fri 6/1/2012 * 8:24:36 AM
*Sat 7/1/2012 * -
*Sun 8/1/2012 * -
*Mon 9/1/2012 * 8:30:47 AM
*Tue 10/1/2012 * -
*Wed 11/1/2012 * 1:40:30 PM
*Thu 12/1/2012 * -

Have try several formula:
1. =COUNTIF(B5:B35," 8:30:00") will give answer 31

2. =SUMPRODUCT((B7:B10,B13,B15,B17,B20:B24,B30:B31,B3 4:B35))=M5 where i exclude the "-value" -- will give error value

3. =SUMPRODUCT(--(HOUR(B5:B35)=M5*24)) also will give error value

Thanks
  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by akmazaini View Post
Hi

Really need help for this problem. I have data in time stamp (plus the data also have - value), need to count data that greater than 8:30:00 AM and to minus the "- value". Below are my data

*Date: * log in:
*Sun 1/1/2012 * -
*Mon 2/1/2012 * -
*Tue 3/1/2012 * 8:27:59 AM
*Wed 4/1/2012 * 8:33:01 AM
*Thu 5/1/2012 * 8:06:05 PM
*Fri 6/1/2012 * 8:24:36 AM
*Sat 7/1/2012 * -
*Sun 8/1/2012 * -
*Mon 9/1/2012 * 8:30:47 AM
*Tue 10/1/2012 * -
*Wed 11/1/2012 * 1:40:30 PM
*Thu 12/1/2012 * -

Have try several formula:
1. =COUNTIF(B5:B35," 8:30:00") will give answer 31

2. =SUMPRODUCT((B7:B10,B13,B15,B17,B20:B24,B30:B31,B3 4:B35))=M5 where i exclude the "-value" -- will give error value

3. =SUMPRODUCT(--(HOUR(B5:B35)=M5*24)) also will give error value

Thanks
Hi,

Not 100% sure I understand what you mean. Could you post your workbook so we can have a better look?
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
Difference between 2 time stamps Raj Excel Discussion (Misc queries) 5 June 16th 09 02:27 PM
expand alist of time stamps Mikeneedshelp Excel Worksheet Functions 1 March 5th 09 03:59 PM
vlookup between two time stamps [email protected] Excel Worksheet Functions 1 October 22nd 08 06:58 PM
Time Stamps??????????? looper Excel Discussion (Misc queries) 0 March 2nd 07 11:14 PM
I need to find the yy/mm/dd AND hh:mm:ss between 2 time stamps Pontoon Excel Discussion (Misc queries) 5 June 22nd 06 01:23 PM


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