Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default count cells with time and date

One mo

=sumproduct(--(text(a1:a100,"mmddyyyy")="08222009"))

Adjust the ranges to match--but you can't use whole columns (except in xl2007).

=sumproduct() likes to work with numbers. The -- stuff changes trues and falses
to 1's and 0's.

Bob Phillips explains =sumproduct() in much more detail he
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

And J.E. McGimpsey has some notes at:
http://mcgimpsey.com/excel/formulae/doubleneg.html

===============
I think I'd consider using a pivottable, too.

You could group by date (and ignore the time).

count celld with date and time wrote:

Hi, could somebody please help!

cell contain date and time
e.g. " 22/08/2009 14:34"

loads of them in the same column lets say column "A"

I have 5000+ cells per day transfered from another system,

I need to know everyday, how many of these 5000 cell iin column A is from
22/08/2009, 23/08/2009, 24/08/2009....etc (can ignore the time)

I have tried using formula
=SUM(COUNTIF(A:A,{"22/08/2009"}))

but it does not work, as the time within the cell is causing non exact
match, is there a way to go round this, and count how many cells is from each
date?
I have formated the cell to show dates only but the cell still contain time,
and still does not work!

all your help is greatly appreciated, thx a million


--

Dave Peterson
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
Split date from date time cells dd/mm/yyyy hh:mm. New cell dd/mm/y nigeo Excel Discussion (Misc queries) 3 April 1st 09 09:38 PM
count the occurrences of a month in a date&time cell Tom Excel Worksheet Functions 6 February 14th 08 05:05 PM
Count minutes between two time/date fields safetymast Excel Discussion (Misc queries) 8 December 20th 07 04:53 PM
Count number of cells with date <today's date Cachod1 New Users to Excel 2 January 28th 06 02:37 AM
count the number of cells with a date <= today's date Cachod1 New Users to Excel 3 January 27th 06 09:14 PM


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