+ Reply to Thread
Results 1 to 7 of 7

Comparing similarity of columns in a spreadsheet, and representing them as a %

  1. #1
    Registered User
    Join Date
    06-24-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    7

    Comparing similarity of columns in a spreadsheet, and representing them as a %

    Hello all,

    I'm trying to score the spreadsheet like this. I want to compare Person P's answers with the answers of each other respondent. I'm counting any matches (either YES or NO) as 1 point, and any "PART"s as .5 points. A blank entry is not taken into consideration. So, at the bottom of each column, it displays the percentage of matching answers over total possible answers. Is there a formula that will do this automatically? Thank you all for helping me with this. I know it's probably a basic issue, but I know nothing about programming with excel.

    Cheers!
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,411

    Re: Comparing similarity of columns in a spreadsheet, and representing them as a %

    You can put this formula in Q2:

    =IF(P2="","",COUNTIF(D2:N2,P2)*IF(P2="PART",0.5,1))

    then copy down to Q57. There are many ways of evaluating the percentage - do you mean this:

    =SUM(Q2:Q57)/56/COUNTA(D1:N1)

    formatted as percentage?

    Hope this helps.

    Pete

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Comparing similarity of columns in a spreadsheet, and representing them as a %

    well i make the percentages slightly different not all but some with in d59 filled across to n59
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by martindwilson; 09-07-2013 at 04:01 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    06-24-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Comparing similarity of columns in a spreadsheet, and representing them as a %

    Quote Originally Posted by martindwilson View Post
    well i make the percentages slightly different not all but some with in d59 filled across to n59
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This worked!-- Once I removed all the responses labeled "PART". I think those are going to be too difficult to calculate, and not really accurate if represented as a ".5" anyway, so I'll just take those out.

    One more thing, how do I display it as a percent, rather than a decimal?

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Comparing similarity of columns in a spreadsheet, and representing them as a %

    format the cell percent!

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Comparing similarity of columns in a spreadsheet, and representing them as a %

    Is this a duplicate thread:

    http://www.excelforum.com/excel-form...readsheet.html

    The thread titles sure are similar.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  7. #7
    Registered User
    Join Date
    06-24-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Comparing similarity of columns in a spreadsheet, and representing them as a %

    Quote Originally Posted by martindwilson View Post
    format the cell percent!
    Wow. That was a dumb question. haha, thank you! That was exactly what I was looking for.

+ 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. Comparing similarity of columns in a spreadsheet.
    By Ituralde in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-07-2013, 04:26 PM
  2. [SOLVED] Splitting single column of dates to 2 columns representing a beginning and end date
    By jordan2322 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-21-2013, 11:16 PM
  3. Replies: 2
    Last Post: 04-18-2013, 02:03 PM
  4. [SOLVED] IF AND or SUMIFS comparing Months from 2 date columns and text from 2 other columns
    By jrochet in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-22-2012, 11:06 AM
  5. Method Similarity
    By Steve2107 in forum Excel General
    Replies: 1
    Last Post: 04-20-2011, 12:31 AM

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