+ Reply to Thread
Results 1 to 4 of 4

Formula to sum up scores based on letters

  1. #1
    Registered User
    Join Date
    07-21-2013
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Formula to sum up scores based on letters

    Hi, I'm constructing an excel sheet to look at the recent form of a selection of football teams.

    I have 5 cells for each team looking at their last 5 games. W is entered for a win, D for a draw and L for a lose.

    Now I want one cell at the end for each team which calculates a score based on their previous 5 games as so:

    3 points for a win, 1 for a draw and 0 for a loss.

    I wonder if someone could help me with this as I am fairly new to excel.

    Any help would be greatly appreciated

    Many Thanks!

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Formula to sum up scores based on letters

    yes, that's possible.

    If you post your excel file, without confidentional information, i will add the formula's in it.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Formula to sum up scores based on letters

    With
    A1:E1 containing results (W,L, or D)
    Example: W, W, L, D, W

    This regular formula sums the translated results:
    F1: =SUMPRODUCT(LOOKUP(A1:E1,{"D","L","W"},{1,0,3}))

    In the above example, the formula returns: 10
    3, 3, 0, 1, 3

    Is that something you can work with?
    Last edited by Ron Coderre; 07-21-2013 at 09:22 AM.
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Registered User
    Join Date
    07-21-2013
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Formula to sum up scores based on letters

    Many Thanks Ron, exactly what I was after!

    Thanks for the fast responses

+ 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: 1
    Last Post: 06-15-2013, 09:02 PM
  2. Group scores based on value in first column
    By jlm099 in forum Excel General
    Replies: 7
    Last Post: 04-25-2013, 05:31 PM
  3. Replies: 3
    Last Post: 09-18-2012, 09:50 AM
  4. VB macro for sorting through scores and copying certain scores to new sheet
    By cowboy713 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-23-2010, 01:47 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