I'm currently trying to create a formula that automatically calculates a win/loss record based on increases and decreases in postgame rating. The following formula was working great for me until we decided to make changes to how we record time spent.
The goal is an output of something like 3W-2L, and the formula worked well.
We decided it was also important to keep track of when breaks were taken between matches, so we started formatting the records as follows:
[TABLE="width: 200"]
<tbody>[TR]
[TD]3338[/TD]
[/TR]
[TR]
[TD]3363[/TD]
[/TR]
[TR]
[TD]BREAK[/TD]
[/TR]
[TR]
[TD]3386[/TD]
[/TR]
[TR]
[TD]3419[/TD]
[/TR]
[TR]
[TD]3387[/TD]
[/TR]
[TR]
[TD]3362[/TD]
[/TR]
[TR]
[TD]BREAK[/TD]
[/TR]
[TR]
[TD]3389[/TD]
[/TR]
</tbody>[/TABLE]
Comments are added to the breaks to denote why it was taken and/or what was done during the time, all in the name of analysis and improvement.
The issue we face now is that these BREAKs break the formula as the it tries to find if a number is larger or smaller than the BREAK cell, leading to inaccurate record counts.
I'm relatively uneducated and very rusty in Excel so the answer may be a very simple one, but can anyone think of a solution to this issue? I know moving the breaks to a different section would make it an easy fix, but seeing the when and why of the pauses alongside the rises and falls of the ratings is very helpful in our overall analysis.</f15:f45))&"w-"&(sumproduct(--(f14:f44></f15:f45))&"w-"&(sumproduct(--(f14:f44></f15:f45))&"w-"&(sumproduct(--(f14:f44>
Code:
=CONCATENATE(SUMPRODUCT(--(F14:F44<F15:F45))&"W-"&(SUMPRODUCT(--(F14:F44>F15:F45))-1&"L")) <f15:f45))&"w-"&(sumproduct(--(f14:f44><f15:f45))&"w-"&(sumproduct(--(f14:f44><f15:f45))&"w-"&(sumproduct(--(f14:f44>
The goal is an output of something like 3W-2L, and the formula worked well.
We decided it was also important to keep track of when breaks were taken between matches, so we started formatting the records as follows:
[TABLE="width: 200"]
<tbody>[TR]
[TD]3338[/TD]
[/TR]
[TR]
[TD]3363[/TD]
[/TR]
[TR]
[TD]BREAK[/TD]
[/TR]
[TR]
[TD]3386[/TD]
[/TR]
[TR]
[TD]3419[/TD]
[/TR]
[TR]
[TD]3387[/TD]
[/TR]
[TR]
[TD]3362[/TD]
[/TR]
[TR]
[TD]BREAK[/TD]
[/TR]
[TR]
[TD]3389[/TD]
[/TR]
</tbody>[/TABLE]
Comments are added to the breaks to denote why it was taken and/or what was done during the time, all in the name of analysis and improvement.
The issue we face now is that these BREAKs break the formula as the it tries to find if a number is larger or smaller than the BREAK cell, leading to inaccurate record counts.
I'm relatively uneducated and very rusty in Excel so the answer may be a very simple one, but can anyone think of a solution to this issue? I know moving the breaks to a different section would make it an easy fix, but seeing the when and why of the pauses alongside the rises and falls of the ratings is very helpful in our overall analysis.</f15:f45))&"w-"&(sumproduct(--(f14:f44></f15:f45))&"w-"&(sumproduct(--(f14:f44></f15:f45))&"w-"&(sumproduct(--(f14:f44>