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.
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.
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,""))))
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
Simpler than that:Formula: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.
Formula in F3 is
=VLOOKUP(C3-E3,{-99,0;0,1;1,2},2,TRUE)
See attached file for complete example/solution
Last edited by nimrod; 10-23-2014 at 08:58 PM.
@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.
Try this:
=IF(SUM(C3:E3)=0,0,IF(C3>E3,2,IF(E3=C3,1,0)))
=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.
Thank You - Solved.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks