+ Reply to Thread
Results 1 to 5 of 5

Table that shows percentages for each person based on table

  1. #1
    Registered User
    Join Date
    05-28-2013
    Location
    Missouri
    MS-Off Ver
    Excel 2003
    Posts
    3

    Table that shows percentages for each person based on table

    I need a formula in column I which will show the percentage of times "Yes" comes up in column C for each person in column A. In the current month on the sheet it's obviously going to be 100%, but in future months it could be different.May Photos.xlsx I'm doing this as a favor to someone, and just can't figure it out. If someone has some help for me it would be greatly appreciated.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,480

    Re: Table that shows percentages for each person based on table

    one way is to use SUMPRODUCT, formula in I2 and copied down.

    =SUMPRODUCT(($A$2:$A$21=H2)*($C$2:$C$21="YES"))/COUNTA($A$2:$A$21)
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    05-28-2013
    Location
    Missouri
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Table that shows percentages for each person based on table

    Thanks Andy, that's really close to what I need, but my explanation was off. I don't need the percentages for the individual people. The percentages need to show what percent of times Yes shows up for each person. So, since Dave took all required photos for the three cases he was on, it would be 100%. If, in another month, he didn't take all required photos for one of his three cases, it needs to show 66%. I didn't explain it well the first time, I apologize.

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,480

    Re: Table that shows percentages for each person based on table

    so the denominator for the formula also needs to be the result of a formula that counts the number of Dave's rather the count of records.

    =SUMPRODUCT(($A$2:$A$21=H2)*($C$2:$C$21="YES"))/COUNTIF($A$2:$A$21,H2)

  5. #5
    Registered User
    Join Date
    05-28-2013
    Location
    Missouri
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Table that shows percentages for each person based on table

    Thanks a ton Andy, I think that's what I need. I appreciate it

+ 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