+ Reply to Thread
Results 1 to 4 of 4

counting non-numerical in a list with blank entries

  1. #1
    Registered User
    Join Date
    07-12-2010
    Location
    Hereford, England
    MS-Off Ver
    Excel 2004 for mac
    Posts
    2

    counting non-numerical in a list with blank entries

    I'm trying to make a function that shows the number of A*+'s in a list of grades and ommits all blank entries. What is wrong with this formula =COUNTIF(G2:G222,"A*+"))
    That is what I am currently using ns it gives me too large numbers (it counted 285 in a column with 220 spaces.) There are several more grades that I need to count also and I tried using an accumalative one ie: =COUNTIF(G2:G222,"A*+)+COUNTIF(G2:G222,"A*).... etc...

    When I use these formulas it comes up with the error: "Formula refers to empty cells" as some students did not receive a grade in that subject. Is there any way that I could ommit these blank entries from my formula without going through and de-selecting them all, (there are over 200 students.

    Thank you and any help is appreciated.

  2. #2
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: counting non-numerical in a list with blank entries

    * is a "wildcard" giving you all values starting with A. To search exclusively for "A*+" you must write the formula like
    =COUNTIF(G2:G222,"A~*+")
    HTH

    Alf

  3. #3
    Registered User
    Join Date
    07-12-2010
    Location
    Hereford, England
    MS-Off Ver
    Excel 2004 for mac
    Posts
    2

    Re: counting non-numerical in a list with blank entries

    Thank you so much Problem solved.

  4. #4
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: counting non-numerical in a list with blank entries

    Glad to be of help. Could you please mark your question "solved" and if do want to give me a pat on the back click on my scale icon and rate my answar.

    Alf

+ 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