mellownando
New Member
- Joined
- Jun 8, 2017
- Messages
- 2
'm looking for some guidance on creating this lookup in excel.
i have a table similar to below:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD]STATE[/TD]
[TD]SalesPerson[/TD]
[TD]Count[/TD]
[TD]Percentage[/TD]
[TD][/TD]
[TD]RANK[/TD]
[TD]MA[/TD]
[TD]TX[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD]MA[/TD]
[TD]AA[/TD]
[TD]68[/TD]
[TD]99.4%[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]CC[/TD]
[TD]DD[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD]MA[/TD]
[TD]BB[/TD]
[TD]393[/TD]
[TD]97.5%[/TD]
[TD][/TD]
[TD]2[/TD]
[TD]AA[/TD]
[TD]CC[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD]MA[/TD]
[TD]CC[/TD]
[TD]566[/TD]
[TD]100.0%[/TD]
[TD][/TD]
[TD]3[/TD]
[TD]BB[/TD]
[TD]EE[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD]TX[/TD]
[TD]BB[/TD]
[TD]319[/TD]
[TD]0.0%[/TD]
[TD][/TD]
[TD]4[/TD]
[TD]-[/TD]
[TD]BB[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD]TX[/TD]
[TD]CC[/TD]
[TD]785[/TD]
[TD]22.3%[/TD]
[TD][/TD]
[TD]5[/TD]
[TD]-[/TD]
[TD]-[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD]TX[/TD]
[TD]DD[/TD]
[TD]28[/TD]
[TD]88.7%[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD]TX[/TD]
[TD]EE[/TD]
[TD]664[/TD]
[TD]0.0%[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am looking to have the output in cells G2:H6 return the salesperson based on the state and percentage, and if the percentage points are the same, then use the count as rank, giving the output above. I've read through some processes on using rank index match, but i couldn't figure out how to rank using secondary source when the first rank is tied.
Help!
i have a table similar to below:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD]STATE[/TD]
[TD]SalesPerson[/TD]
[TD]Count[/TD]
[TD]Percentage[/TD]
[TD][/TD]
[TD]RANK[/TD]
[TD]MA[/TD]
[TD]TX[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD]MA[/TD]
[TD]AA[/TD]
[TD]68[/TD]
[TD]99.4%[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]CC[/TD]
[TD]DD[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD]MA[/TD]
[TD]BB[/TD]
[TD]393[/TD]
[TD]97.5%[/TD]
[TD][/TD]
[TD]2[/TD]
[TD]AA[/TD]
[TD]CC[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD]MA[/TD]
[TD]CC[/TD]
[TD]566[/TD]
[TD]100.0%[/TD]
[TD][/TD]
[TD]3[/TD]
[TD]BB[/TD]
[TD]EE[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD]TX[/TD]
[TD]BB[/TD]
[TD]319[/TD]
[TD]0.0%[/TD]
[TD][/TD]
[TD]4[/TD]
[TD]-[/TD]
[TD]BB[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD]TX[/TD]
[TD]CC[/TD]
[TD]785[/TD]
[TD]22.3%[/TD]
[TD][/TD]
[TD]5[/TD]
[TD]-[/TD]
[TD]-[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD]TX[/TD]
[TD]DD[/TD]
[TD]28[/TD]
[TD]88.7%[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD]TX[/TD]
[TD]EE[/TD]
[TD]664[/TD]
[TD]0.0%[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am looking to have the output in cells G2:H6 return the salesperson based on the state and percentage, and if the percentage points are the same, then use the count as rank, giving the output above. I've read through some processes on using rank index match, but i couldn't figure out how to rank using secondary source when the first rank is tied.
Help!