+ Reply to Thread
Results 1 to 9 of 9

Formula to calculate points - Win, Tie and Loss situations

  1. #1
    Forum Contributor
    Join Date
    08-22-2005
    MS-Off Ver
    Office 365
    Posts
    342

    Formula to calculate points - Win, Tie and Loss situations

    Seems to be an error.

    When editing and previewing does not keep our message in the box ... so forces you to re type?

    So I lost the original message. Not sure if anyone else is having the same problem.
    Last edited by SVTF; 10-23-2014 at 09:42 PM.

  2. #2
    Registered User
    Join Date
    11-08-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2013/10/07/03
    Posts
    33

    Re: Formula to calculate points - Win, Tie and Loss situations

    Sorry been a while so cant remember the code thingy.. but here is an inelegant solution. (F3 and copy down the column)

    =IF(C3>E3,2,IF(C3=E3,1,IF(C3<E3,0,IF(AND(C3=0,E3=0,D3>0),1,""))))

  3. #3
    Forum Contributor Cerbera's Avatar
    Join Date
    07-06-2010
    Location
    Rotorua, New Zealand
    MS-Off Ver
    Excel 2007, 2013, 2016 & 365
    Posts
    137

    Re: Formula to calculate points - Win, Tie and Loss situations

    Can't you just use this formula copied down from F3?

    =IF(C3>E3,2,IF(E3=C3,1,0))

    I don't know hockey, but it would appear that the draw occurs whenever there is an equal number of "Promoters" and "Detractors", whether that is 0 and 0 or 3 and 3, etc.

    The only exception which is not clarified and I'm not sure if it can happen in Hockey; can there be no promoters, detractors and passives in a game? I assume however that this would still result in a draw? So logic wise, from what I can tell, passives have no baring on the outcome whatsoever!
    If I've helped please click on *Add Reputation

  4. #4
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Formula to calculate points - Win, Tie and Loss situations

    Simpler than that:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Please add reputation by clicking on the * if I have helped.
    Please mark the thread SOLVED if your issue has been resolved.
    Thanks, Glenn.

  5. #5
    Valued Forum Contributor
    Join Date
    09-21-2003
    Location
    British Columbia , Canada
    MS-Off Ver
    03,07,10,13
    Posts
    727

    Re: Formula to calculate points - Win, Tie and Loss situations

    Formula in F3 is

    =VLOOKUP(C3-E3,{-99,0;0,1;1,2},2,TRUE)

    See attached file for complete example/solution
    Attached Files Attached Files
    Last edited by nimrod; 10-23-2014 at 08:58 PM.

  6. #6
    Forum Contributor
    Join Date
    08-22-2005
    MS-Off Ver
    Office 365
    Posts
    342

    Re: Formula to calculate points - Win, Tie and Loss situations

    @pytheus, @Cerbera, @gak67, @nimrod - Thank you all formula versions appear to work however, can I get a small tweak.

    It's highly unlikely but there could be a week where there are no Promoters, Passives, Detractors.

    Currently it is returning a 1 if the week is blanked out. Can I get one of your formula's to return a 0 value if the week has no results.
    Last edited by SVTF; 10-23-2014 at 09:30 PM.

  7. #7
    Forum Contributor Cerbera's Avatar
    Join Date
    07-06-2010
    Location
    Rotorua, New Zealand
    MS-Off Ver
    Excel 2007, 2013, 2016 & 365
    Posts
    137

    Re: Formula to calculate points - Win, Tie and Loss situations

    Try this:

    =IF(SUM(C3:E3)=0,0,IF(C3>E3,2,IF(E3=C3,1,0)))

  8. #8
    Valued Forum Contributor
    Join Date
    09-21-2003
    Location
    British Columbia , Canada
    MS-Off Ver
    03,07,10,13
    Posts
    727

    Re: Formula to calculate points - Win, Tie and Loss situations

    =if(or(isnumber(e3),isnumber(d3),isnumber(c3)),vlookup(c3-e3,{-99,0;0,1;1,2},2,true),0)
    Last edited by nimrod; 10-23-2014 at 09:37 PM.

  9. #9
    Forum Contributor
    Join Date
    08-22-2005
    MS-Off Ver
    Office 365
    Posts
    342

    Re: Formula to calculate points - Win, Tie and Loss situations

    Thank You - Solved.

+ 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: 04-09-2014, 01:33 PM
  2. Replies: 7
    Last Post: 08-03-2013, 09:51 AM
  3. [SOLVED] Simple formula to calculate wgt loss per wk and total of visible cells
    By Catherine01 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-25-2013, 12:35 AM
  4. Replies: 1
    Last Post: 02-24-2011, 06:12 AM
  5. Allocate points based on win, loss or draw
    By lmsmith in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 03-04-2010, 05:34 PM

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