+ Reply to Thread
Results 1 to 3 of 3

using Counta

  1. #1
    Forum Contributor
    Join Date
    02-16-2006
    Posts
    200

    Question using Counta

    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?

  2. #2
    Peo Sjoblom
    Guest

    re: using Counta

    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 ""


    --

    Regards,

    Peo Sjoblom

    http://nwexcelsolutions.com




    "martins" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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?
    >
    >
    > --
    > martins
    > ------------------------------------------------------------------------
    > martins's Profile:
    > http://www.excelforum.com/member.php...o&userid=31616
    > View this thread: http://www.excelforum.com/showthread...hreadid=529414
    >




  3. #3
    Max
    Guest

    re: using Counta

    "martins" wrote:
    > 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<>""))

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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1