+ Reply to Thread
Results 1 to 5 of 5

Add points based on YES or NO answer

  1. #1
    Registered User
    Join Date
    01-03-2011
    Location
    dc
    MS-Off Ver
    Excel 2003
    Posts
    2

    Add points based on YES or NO answer

    Can someone please refresh me on how to achieve the following? I am trying to allocate points to people, based on a yes or no answer.
    If the name had YES next to it, they person would get 2 points. If NO, negative two points. At the end, I want to add up all of the points to get a final score. Some of the entries are allowed to be blank, which would result in zero points.
    There are 40 names.
    What formulas could I use to get this to work?

    Thanks!

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,961

    Re: Add points based on YES or NO answer

    For this type of question, it is always better to attach your workbook, or at least one that has the same data organization as your workbook.

    If I assume that your YES/NO answers are in column B, and the same row as your points, one formula to give points in row 2 would be

    =IF(B2="",0,IF(B2="YES",2,IF(B2="NO",-2)))

    If B2 is anything other than blank, YES, or NO, the result is FALSE.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Add points based on YES or NO answer

    Hi
    is a formula like this what you're after (where cell B2 contains values yes, no etc)?
    =IF(B2="yes",2,IF(B2="no",-2,0))

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Add points based on YES or NO answer

    It's not clear if you want to store points adjacent or in summary, for the latter:

    Please Login or Register  to view this content.

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Add points based on YES or NO answer

    @alw2, please note duplicate threads are not permitted per Forum Rules.

    Normally duplicates would be closed - given your post count and the fact you have separate replies on each thread I will on this occasion merge the two.

+ 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.6.0 RC 1