+ Reply to Thread
Results 1 to 7 of 7

Count range to determine score

  1. #1
    Registered User
    Join Date
    09-19-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    24

    Count range to determine score

    Hi everyone,
    I am stuck on a formula and was hoping someone could help.
    A bit of background of what I need the formula to do.

    Each cell within range A2-A21 has either a 'Y' or 'N' in it.

    Cell A1 needs to calculate the number of Y's in that range and display either a 0, 1 or 2 depending on
    the number of Y's as follows:

    Zero Y's = display 0
    10 or less Y's = display 1
    11-20 Y's = display 2

    Appreciate any help

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Count range to determine score

    hi aaron85w, try:
    =CEILING(COUNTIF(A2:A21,"Y")/10,1)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    11-27-2012
    Location
    MOON
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Count range to determine score

    Hi

    try this:

    =IF(COUNT(FIND("y";A2:A21));IF(COUNT(FIND("y";A2:A21))<10;1;IF(COUNT(FIND("y";A2:A21))<20;2));0)

    this is an array formula so you have to press CTRL + SHIFT + ENTER when applying the formula.

  4. #4
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Count range to determine score

    one more approach..


    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  5. #5
    Registered User
    Join Date
    09-19-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Count range to determine score

    Hi Everyone,

    I am currently using G18=CEILING(COUNTIF(G19:G24,"Y")/5,1) to count the number of Y's in the range G19:G24. How can I add to this formula to include, if range G:19:G24 is "" then G18 = ""?

    Thanks again

  6. #6
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Count range to determine score

    maybe:
    =IF(COUNTBLANK(G19:G24)=6,"",CEILING(COUNTIF(G19:G24,"Y")/5,1))

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  7. #7
    Registered User
    Join Date
    09-19-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Count range to determine score

    Thanks Benishiryo, works perfect for what I need

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Moving a calclated score to a master score sheet and ranking the scores into placings
    By Jongleur69 in forum Excel Programming / VBA / Macros
    Replies: 30
    Last Post: 04-22-2013, 11:53 PM
  2. Replies: 2
    Last Post: 03-20-2012, 06:30 PM
  3. count the score greater than 0 & less than 4
    By gaurav_dey in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-01-2010, 09:47 AM
  4. Pulling test score based on date, not highest score.
    By PowerSchoolDude in forum Excel General
    Replies: 2
    Last Post: 12-01-2009, 06:42 PM
  5. Converting a Number score to an equivalent Letter score
    By cgurr1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-24-2008, 12:42 PM

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