debapratim1
New Member
- Joined
- Nov 2, 2017
- Messages
- 5
Hi All,
I am facing a problem while sorting a group of Objects according to their values. When multiple values entered are same, then Only the First Object is being returned thrice. While I want all the objects to be returned with same values. Please help.
Demo:
[TABLE="width: 213"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Objects[/TD]
[TD]Avg Value[/TD]
[/TR]
[TR]
[/TR]
[TR]
[TD]OBJ 1[/TD]
[TD]121[/TD]
[/TR]
[TR]
[TD]OBJ 1[/TD]
[TD]121[/TD]
[/TR]
[TR]
[TD]OBJ 8[/TD]
[TD]125[/TD]
[/TR]
[TR]
[TD]OBJ 11[/TD]
[TD]126[/TD]
[/TR]
[TR]
[TD]OBJ 2[/TD]
[TD]133[/TD]
[/TR]
[TR]
[TD]OBJ 9[/TD]
[TD]135[/TD]
[/TR]
[TR]
[TD]OBJ 10[/TD]
[TD]136[/TD]
[/TR]
[TR]
[TD]OBJ 3[/TD]
[TD]154[/TD]
[/TR]
[TR]
[TD]OBJ 6[/TD]
[TD]172[/TD]
[/TR]
[TR]
[TD]OBJ 4[/TD]
[TD]177[/TD]
[/TR]
[TR]
[TD]OBJ 5[/TD]
[TD]181
[/TD]
[/TR]
</tbody>[/TABLE]
Here Object 1 and Object 7 are having the same value but Object 1 is returned twice.
I have used the formula: =INDEX($C$5:$C$99,MATCH($H5,$D$5:$D$15,0))
I am facing a problem while sorting a group of Objects according to their values. When multiple values entered are same, then Only the First Object is being returned thrice. While I want all the objects to be returned with same values. Please help.
Demo:
[TABLE="width: 213"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Objects[/TD]
[TD]Avg Value[/TD]
[/TR]
[TR]
[/TR]
[TR]
[TD]OBJ 1[/TD]
[TD]121[/TD]
[/TR]
[TR]
[TD]OBJ 1[/TD]
[TD]121[/TD]
[/TR]
[TR]
[TD]OBJ 8[/TD]
[TD]125[/TD]
[/TR]
[TR]
[TD]OBJ 11[/TD]
[TD]126[/TD]
[/TR]
[TR]
[TD]OBJ 2[/TD]
[TD]133[/TD]
[/TR]
[TR]
[TD]OBJ 9[/TD]
[TD]135[/TD]
[/TR]
[TR]
[TD]OBJ 10[/TD]
[TD]136[/TD]
[/TR]
[TR]
[TD]OBJ 3[/TD]
[TD]154[/TD]
[/TR]
[TR]
[TD]OBJ 6[/TD]
[TD]172[/TD]
[/TR]
[TR]
[TD]OBJ 4[/TD]
[TD]177[/TD]
[/TR]
[TR]
[TD]OBJ 5[/TD]
[TD]181
[/TD]
[/TR]
</tbody>[/TABLE]
Here Object 1 and Object 7 are having the same value but Object 1 is returned twice.
I have used the formula: =INDEX($C$5:$C$99,MATCH($H5,$D$5:$D$15,0))