+ Reply to Thread
Results 1 to 8 of 8

CountA Counting Formula's

  1. #1
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    CountA Counting Formula's

    Hi, I'm using counta to count a range. However CountA is counting all the formulas in the range instead of what is in the cell.

    For example:
    Please Login or Register  to view this content.
    Could I get some help with this formula? Not doing something right again...

    Thank You, Mike
    Last edited by realniceguy5000; 07-22-2011 at 03:20 PM.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: CountA Counting Formula's

    If I'm correct a null string is considered as a string, and thus appears in the COUNTA
    Last edited by arthurbr; 07-22-2011 at 02:44 PM. Reason: Deleted last sentence

  3. #3
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    Re: CountA Counting Formula's

    Hi, Thank You however when I replaced my formula with yours I now get a 0 when it should be 2

    Still confused...

    Any Other Formula's to try?

    Thank You, Mike

  4. #4
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    Re: CountA Counting Formula's

    Something to add,

    I did notice if I countblanks then use counta then subtract the results from each. I will get the correct answer, but not sure how to put that into a formula.

    Mike

  5. #5
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: CountA Counting Formula's

    Why not use COUNT instead?

  6. #6
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    Re: CountA Counting Formula's

    Hi, Well I was trying the formula you suggested that appears to have disappeared.

    but anyway I tried count and the results are 0 as well.

    So:
    Please Login or Register  to view this content.
    Thank You, Mike

  7. #7
    Forum Expert Colin Legg's Avatar
    Join Date
    03-30-2008
    Location
    UK
    MS-Off Ver
    365
    Posts
    1,256

    Re: CountA Counting Formula's

    Hi,

    If the values in column A will always be text, then you can use this to exclude the cells containing "":
    Please Login or Register  to view this content.

    Incidentally, the formulae in column A are only interested if there's a match in column D, so this formula in column A might be better:
    Please Login or Register  to view this content.
    Hope that helps,

    Colin

    RAD Excel Blog

  8. #8
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    Re: CountA Counting Formula's

    That works, Thanks for the help...

    Mike

+ 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