+ Reply to Thread
Results 1 to 4 of 4

Wins converted to”1” won’t sum

  1. #1
    Registered User
    Join Date
    04-06-2007
    Location
    Glasgow, Scotland
    MS-Off Ver
    2003 / 2007
    Posts
    83

    Wins converted to”1” won’t sum

    I am attempting to create a sports scoring system in Excel 2003 to reflect the following. Col B will have a list of 10 country names, Col C will show either a W for a win, L for a loss with both Cols blank before any data is entered prior to the start of the competition.

    I would then like to transfer these individual wins (W) or (L) to a grid below converted to a 1or 0 so that I can finally add them up to establish a winner.

    This formula is used to place one of the 10 teams Wins/Losses in a cell below =IF(B8="","",IF(C8="",B9,IF(C8="W","1",IF(C8="L","0"))))
    and that seems to work fine and gives me a blank, a country name or a 1/0

    I then use the following formula to show a running total of that countries 10 scores =IF(COUNTBLANK(F24:O24)=10,"",SUM(F24:O24))
    But this is where the problem arises in that it won’t add up and returns a 0 and it doesn’t seem to recognise that the “W” is a “1” so can anyone help me with this latter formula?

    I hope I have given sufficient info to enable a solution. Thank you for any help you can give me. .
    Last edited by alan_stephen75@; 10-03-2010 at 10:59 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Wins converted to”1” won’t sum

    By using "1" instead of 1 they are being converted to Text not numbers
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Wins converted to”1” won’t sum

    You don't have to convert the wins and losses to numbers to count them. You can use the CountIf formula.

    For wins "=Countif(Range,"=W") do an L for losses.

  4. #4
    Registered User
    Join Date
    04-06-2007
    Location
    Glasgow, Scotland
    MS-Off Ver
    2003 / 2007
    Posts
    83

    Re: Wins converted to”1” won’t sum

    Many thanks for the very prompt reply, easy when you know how.

+ 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