+ Reply to Thread
Results 1 to 4 of 4

calculating percentage of specified text responses

  1. #1
    Registered User
    Join Date
    07-05-2012
    Location
    Indiana
    MS-Off Ver
    Excel 2007
    Posts
    7

    calculating percentage of specified text responses

    Hello,
    I have created a worksheet and used Data Validation to allow only a specified list of responses. I now want to calculate the percentage of total entries that have one of the specified responses.

    For example, in one of my columns I have specified the List Sources to be Yes or No. As data is entered and responses are chosen either Yes or No, I want the calculation of % of total entries that the response is Yes at the bottom of the column.

    I used the formula =COUNTIF(G3:G39,"Yes") which counts the entries which have been answered "Yes" but I would like to compare the counted number the total number of entries so I can easily see if the number counted is 5 yeses out of 5 entries, or 5 yeses out of 500 entries, so I think I need to include a reference to the total number of non-blank entries in that column in order to get the denominator. Am I on the right track?

    Thanks in advance!

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: calculating percentage of specified text responses

    Have a look at the COUNTA function

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: calculating percentage of specified text responses

    Yes indeed. just extend your formula as below

    =COUNTIF(G3:G39,"Yes")/COUNTA(G3:G39)
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    07-05-2012
    Location
    Indiana
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: calculating percentage of specified text responses

    Thank you very much Richard and Pepe!

    Worked perfectly!

    Sarah

+ 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