UrbanJungleFashion
New Member
- Joined
- Oct 14, 2014
- Messages
- 17
Hey Everyone!
Since there isn't a RankIf function I'm having an issue creating a ranking statement based off an IF statement in combination with a Large Function.
Here is what my goal is:
To find the largest variance for each territory using an If/Large function. I'm not sure if should be using an index match as well.
Example:
A B C
[TABLE="width: 192"]
<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]Location[/TD]
[TD="width: 64"]Territory[/TD]
[TD="width: 64"] Var[/TD]
[/TR]
[TR]
[TD]0001[/TD]
[TD]484[/TD]
[TD="class: xl69, align: right"]38%[/TD]
[/TR]
[TR]
[TD]0002[/TD]
[TD]521[/TD]
[TD="class: xl69, align: right"]67%[/TD]
[/TR]
[TR]
[TD]0003[/TD]
[TD]803[/TD]
[TD="class: xl69, align: right"]17%[/TD]
[/TR]
[TR]
[TD]0004[/TD]
[TD]484[/TD]
[TD="class: xl69, align: right"]97%[/TD]
[/TR]
[TR]
[TD]0005[/TD]
[TD]484[/TD]
[TD="class: xl69, align: right"]15%[/TD]
[/TR]
[TR]
[TD]0006[/TD]
[TD]521[/TD]
[TD="class: xl69, align: right"]24%[/TD]
[/TR]
[TR]
[TD]0007[/TD]
[TD]803[/TD]
[TD="class: xl69, align: right"]33%[/TD]
[/TR]
[TR]
[TD]0008[/TD]
[TD]803[/TD]
[TD="class: xl69, align: right"]47%[/TD]
[/TR]
[TR]
[TD]0009[/TD]
[TD]521[/TD]
[TD="class: xl69, align: right"]3%[/TD]
[/TR]
[TR]
[TD]0010[/TD]
[TD]484[/TD]
[TD="class: xl69, align: right"]19%[/TD]
[/TR]
</tbody>[/TABLE]
Ideally this would be the results:
[TABLE="width: 128"]
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]484[/TD]
[TD="class: xl71, width: 64, align: right"]97%[/TD]
[/TR]
[TR]
[TD]521[/TD]
[TD="class: xl71, align: right"]67%[/TD]
[/TR]
[TR]
[TD]803[/TD]
[TD="class: xl71, align: right"]33%
[/TD]
[/TR]
</tbody>[/TABLE]
Can someone help me with the correct statement?
Thank You!
Since there isn't a RankIf function I'm having an issue creating a ranking statement based off an IF statement in combination with a Large Function.
Here is what my goal is:
To find the largest variance for each territory using an If/Large function. I'm not sure if should be using an index match as well.
Example:
A B C
[TABLE="width: 192"]
<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]Location[/TD]
[TD="width: 64"]Territory[/TD]
[TD="width: 64"] Var[/TD]
[/TR]
[TR]
[TD]0001[/TD]
[TD]484[/TD]
[TD="class: xl69, align: right"]38%[/TD]
[/TR]
[TR]
[TD]0002[/TD]
[TD]521[/TD]
[TD="class: xl69, align: right"]67%[/TD]
[/TR]
[TR]
[TD]0003[/TD]
[TD]803[/TD]
[TD="class: xl69, align: right"]17%[/TD]
[/TR]
[TR]
[TD]0004[/TD]
[TD]484[/TD]
[TD="class: xl69, align: right"]97%[/TD]
[/TR]
[TR]
[TD]0005[/TD]
[TD]484[/TD]
[TD="class: xl69, align: right"]15%[/TD]
[/TR]
[TR]
[TD]0006[/TD]
[TD]521[/TD]
[TD="class: xl69, align: right"]24%[/TD]
[/TR]
[TR]
[TD]0007[/TD]
[TD]803[/TD]
[TD="class: xl69, align: right"]33%[/TD]
[/TR]
[TR]
[TD]0008[/TD]
[TD]803[/TD]
[TD="class: xl69, align: right"]47%[/TD]
[/TR]
[TR]
[TD]0009[/TD]
[TD]521[/TD]
[TD="class: xl69, align: right"]3%[/TD]
[/TR]
[TR]
[TD]0010[/TD]
[TD]484[/TD]
[TD="class: xl69, align: right"]19%[/TD]
[/TR]
</tbody>[/TABLE]
Ideally this would be the results:
[TABLE="width: 128"]
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]484[/TD]
[TD="class: xl71, width: 64, align: right"]97%[/TD]
[/TR]
[TR]
[TD]521[/TD]
[TD="class: xl71, align: right"]67%[/TD]
[/TR]
[TR]
[TD]803[/TD]
[TD="class: xl71, align: right"]33%
[/TD]
[/TR]
</tbody>[/TABLE]
Can someone help me with the correct statement?
Thank You!