Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / May 2008

Tip: Looking for answers? Try searching our database.

Summing cells containing dates

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Laura - 09 May 2008 19:40 GMT
I need to add up the total number of cells in a column that contain entries.  
THe entries are dates i..e,

Column A
March 3, 2008
Feb 2, 2008
Aprril 3, 2008

June 14, 2008
(sum should = 4 for the total number of cells with entries in the column)
akphidelt - 09 May 2008 19:52 GMT
use the formula Count

=Count(A1:A5)

> I need to add up the total number of cells in a column that contain entries.  
> THe entries are dates i..e,
[quoted text clipped - 6 lines]
> June 14, 2008
> (sum should = 4 for the total number of cells with entries in the column)
T. Valko - 09 May 2008 19:56 GMT
Try this:

=COUNT(A1:A100)

Signature

Biff
Microsoft Excel MVP

>I need to add up the total number of cells in a column that contain
>entries.
[quoted text clipped - 7 lines]
> June 14, 2008
> (sum should = 4 for the total number of cells with entries in the column)
Otto Moehrbach - 09 May 2008 20:00 GMT
One way:
=CountA(A:A)
for all of column A.  Otto
>I need to add up the total number of cells in a column that contain
>entries.
[quoted text clipped - 7 lines]
> June 14, 2008
> (sum should = 4 for the total number of cells with entries in the column)
Mike H - 09 May 2008 20:05 GMT
Hi,

If your column contains numbers as well as dates then a function may help

Alt+F11 to open VB editot. Right click 'This Workbook' and insert module and
paste this in

Function datecount(rng As Range)
For Each c In rng
If IsDate(c) Then datecount = datecount + 1
Next
End Function

From the worksheet call with
=datecount(A:A)

Mike

> I need to add up the total number of cells in a column that contain entries.  
> THe entries are dates i..e,
[quoted text clipped - 6 lines]
> June 14, 2008
> (sum should = 4 for the total number of cells with entries in the column)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.