+ Reply to Thread
Results 1 to 4 of 4

Thread: CountIF or CountA

  1. #1
    Registered User
    Join Date
    09-26-2008
    Location
    Richmond
    Posts
    56

    CountIF or CountA

    I have a spreadsheets with employee names in several different columns....first column is hard keyed with names, additional columns link to the preceding columns so if an employee gets added or deleted the future weeks will reflect the new names. I need a formula to count the employees names in each column excluding the blank rows that have link formulas in them referring to empty positions....the COUNTA formula is still counting the empty positions and the COUNTIF won't work at all for me.

    Any ideas??
    Last edited by bjohnsonac; 01-24-2011 at 11:46 AM. Reason: SOLVED

  2. #2
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,423

    Re: CountIF or CountA

    A sample might help - it's not clear what the "blanks" are showing (null or 0)

    It might be the case that:

    =COUNTIF(<range>,"?*")
    will do what you want but that's very much a shot in the dark (obviously change <range> as appropriate)

  3. #3
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,603

    Re: CountIF or CountA

    Not sure I fully understand, but how about?

    =COUNTIF(A1:A10,"?*") which should exclude formula null results. Adjust range to suit.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  4. #4
    Registered User
    Join Date
    09-26-2008
    Location
    Richmond
    Posts
    56

    Re: CountIF or CountA

    Thank worked! Thanks so much!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0