+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : Count cell with "Yes" and deduct from 100%

  1. #1
    Registered User
    Join Date
    07-02-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    2

    Count cell with "Yes" and deduct from 100%

    Hi (sorry about my title - I couldnt think of a suitable one) ;o)

    I need to create a basic spreadsheet for work to record data quality. Unfortunately, i've had to take emergency leave so I really need to complete it at home.

    The spreadsheet has 25 cells which will be populated with either "yes" or "no". "Yes" signifies that an error has been made. Each error (yes) accounts for 4% and would need to be deducted from 100% to provide a total in the "total" box.

    Is this even possible? I've attached a mock up of the relevant part of the spreadsheet so that it, hopefully, makes a little sense. As you've probably guessed, I have zero Excel skills....so please go easy on me.

    Any help would be greatly appreciated.

    Many thanks
    Attached Files Attached Files

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,317

    Re: Please help. Attempting to assign values to cells

    Try this in H8

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    HTH
    Regards, Jeff

  3. #3
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Count cell with "Yes" and deduct from 100%

    somthing like this??

    =100-(COUNTIF(C4:G8,"yes")*0.04) - for the first table reference C4:C8

    COUNTIF(C4:G8,"yes")*.04 - count the number of "yes" entries then multiply by .04
    subtract then from 100


    edit: ooopppssss i'm a turtle (slow)
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  4. #4
    Registered User
    Join Date
    07-02-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Please help. Attempting to assign values to cells

    Blimey, that was quick - I wasn't expecting a reply for a few days...if at all!!!!! Brilliant, that's exactly what I was after! Thank you both so much!!!

    Last edited by Onenil; 07-02-2012 at 07:28 PM.

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,317

    Re: Count cell with "Yes" and deduct from 100%

    You are very welcome. Glad it worked out for you and thanks for the feedback

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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