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 / New Users / April 2006

Tip: Looking for answers? Try searching our database.

Counta

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
martins - 03 Apr 2006 23:40 GMT
I am using COUNTA to count data in a range of cells - the data in this
instance is dates formatted as say Jan-06 - should work ok except that
the formula is also counting cells which maybe blank but contain other
formulas - what do I need to do to just return a result for the data as
specified?

Signature

martins

Peo Sjoblom - 03 Apr 2006 23:53 GMT
Are these dates that are numeric? If so use COUNT instead of counta,
otherwise you can use

=COUNTIF(A:A,"*?" )

to count text but not ""

Signature

Regards,

Peo Sjoblom

http://nwexcelsolutions.com

> I am using COUNTA to count data in a range of cells - the data in this
> instance is dates formatted as say Jan-06 - should work ok except that
> the formula is also counting cells which maybe blank but contain other
> formulas - what do I need to do to just return a result for the data as
> specified?
Max - 04 Apr 2006 00:04 GMT
> I am using COUNTA to count data in a range of cells - the data in this
> instance is dates formatted as say Jan-06 - should work ok except that
> the formula is also counting cells which maybe blank but contain other
> formulas - what do I need to do to just return a result for the data as
> specified?

Try SUMPRODUCT with an additional criteria
to exclude cells which are "blank" ("")
something like the term: ... *(A1:A10<>"") ..
within the example formula below:

=SUMPRODUCT((A1:A10=--"7-Jan-2006")*(A1:A10<>""))

Signature

Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

 
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.