+ Reply to Thread
Results 1 to 6 of 6

Formula to add vote counts

  1. #1
    Registered User
    Join Date
    08-06-2017
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    2

    Formula to add vote counts

    Hi I have votes for players for 17 rounds of football. I would like to know if there is a formula to add the players votes for the whole season based on their names. I have attached a sample of the spreadsheet.

    Cheers
    Sally
    Attached Images Attached Images
    Last edited by SallyAP; 08-06-2017 at 01:31 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: Formula to add vote counts

    Welcome to the forum!

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    08-06-2017
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    2

    Re: Formula to add vote counts

    I have attached workable spreadsheet. There are merged cells in the headings - but this should not affect anything with the formulas
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: Formula to add vote counts

    There may be a more elegant way, but in AB2 copied down:

    =SUMIFS($E$3:$E$41,$A$3:$A$41,AA2)+SUMIFS($J$3:$J$41,$F$3:$F$41,AA2)+SUMIFS($O$3:$O$41,$K$3:$K$41,AA2)+SUMIFS($T$3:$T$41,$P$3:$P$41,AA2)+SUMIFS($Y$3:$Y$41,$U$3:$U$41,AA2)

    Please note that in cell A4 there is a trailing space that you need to delete so that the formula in AB3 calculates correctly.

    Your layout is not really the best for this type of analysis.
    Last edited by AliGW; 08-06-2017 at 02:26 AM.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Formula to add vote counts

    Try

    in AB2 and copy down

    =SUMPRODUCT(--($A$3:$U$27=AA2),($E$3:$Y$27))

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: Formula to add vote counts

    Aaarrgghhhh! The double unary!!! No wonder I couldn't get the SUMPRODUCT to work ... duh.gif

+ 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. Replies: 13
    Last Post: 12-23-2016, 10:25 AM
  2. Vote sheet
    By Janning197 in forum Excel General
    Replies: 4
    Last Post: 09-05-2016, 03:12 PM
  3. [SOLVED] Calculating Last Vote
    By willhh3 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-13-2015, 04:05 PM
  4. Vote - To opt out Voter after voted and duplicate vote count cross dept vote
    By Dahlia in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-15-2014, 09:41 PM
  5. VBA REQUEST or VOTE ????
    By downtown1933 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-09-2013, 12:33 PM
  6. Vote count formula
    By excellicious in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-05-2008, 06:22 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