Hi Team,
I hope anyone can help me with below requirement. When we do vlookup ...we only get value based on look up or same row values based on the position of the column.
I need something different like need to get the values based look up and next lookup value should not be same value ...and it should be next against lookup value.
Here is the input and output examples for my requirement ( I can't sort the data which I have)
[TABLE="width: 128"]
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl64, width: 64"]
Input :
Emp No[/TD]
[TD="class: xl64, width: 64"]
Values[/TD]
[/TR]
[TR]
[TD="class: xl63"]111111[/TD]
[TD="class: xl64"]50[/TD]
[/TR]
[TR]
[TD="class: xl63"]111111[/TD]
[TD="class: xl64"]53[/TD]
[/TR]
[TR]
[TD="class: xl63"]222222[/TD]
[TD="class: xl64"]34[/TD]
[/TR]
[TR]
[TD="class: xl63"]222222[/TD]
[TD="class: xl64"]32[/TD]
[/TR]
[TR]
[TD="class: xl63"]333333[/TD]
[TD="class: xl64"]66[/TD]
[/TR]
[TR]
[TD="class: xl63"]333333[/TD]
[TD="class: xl64"]54[/TD]
[/TR]
[TR]
[TD="class: xl63"]444444[/TD]
[TD="class: xl64"]88[/TD]
[/TR]
[TR]
[TD="class: xl63"]111111[/TD]
[TD="class: xl64"]86[/TD]
[/TR]
[TR]
[TD="class: xl63"]222222[/TD]
[TD="class: xl64"]34[/TD]
[/TR]
[TR]
[TD="class: xl63"]222222[/TD]
[TD="class: xl64"]23[/TD]
[/TR]
</tbody>[/TABLE]
Ouput:
[TABLE="width: 128"]
<tbody>[TR]
[TD="class: xl67, width: 64"]Emp ID[/TD]
[TD="class: xl67, width: 64"]Values[/TD]
[/TR]
[TR]
[TD="class: xl66"]111111
[/TD]
[TD="class: xl65, align: right"]50
[/TD]
[/TR]
[TR]
[TD="class: xl66"]111111
[/TD]
[TD="class: xl65, align: right"]53
[/TD]
[/TR]
[TR]
[TD="class: xl66"]111111
[/TD]
[TD="class: xl65, align: right"]86
[/TD]
[/TR]
[TR]
[TD="class: xl66"]222222
[/TD]
[TD="class: xl65, align: right"]34
[/TD]
[/TR]
[TR]
[TD="class: xl66"]222222
[/TD]
[TD="class: xl65, align: right"]32
[/TD]
[/TR]
[TR]
[TD="class: xl66"]222222
[/TD]
[TD="class: xl65, align: right"]34
[/TD]
[/TR]
[TR]
[TD="class: xl66"]222222
[/TD]
[TD="class: xl65, align: right"]23
[/TD]
[/TR]
[TR]
[TD="class: xl66"]333333[/TD]
[TD="class: xl68"] 66[/TD]
[/TR]
[TR]
[TD="class: xl66"]333333[/TD]
[TD="class: xl68"] 54[/TD]
[/TR]
[TR]
[TD="class: xl66"]444444[/TD]
[TD="class: xl68"] 88[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 128"]
<tbody>[TR]
[TD="class: xl67, width: 64"]
[/TD]
[TD="class: xl67, width: 64"][/TD]
[/TR]
</tbody>[/TABLE]
I hope anyone can help me with below requirement. When we do vlookup ...we only get value based on look up or same row values based on the position of the column.
I need something different like need to get the values based look up and next lookup value should not be same value ...and it should be next against lookup value.
Here is the input and output examples for my requirement ( I can't sort the data which I have)
[TABLE="width: 128"]
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl64, width: 64"]
Input :
Emp No[/TD]
[TD="class: xl64, width: 64"]
Values[/TD]
[/TR]
[TR]
[TD="class: xl63"]111111[/TD]
[TD="class: xl64"]50[/TD]
[/TR]
[TR]
[TD="class: xl63"]111111[/TD]
[TD="class: xl64"]53[/TD]
[/TR]
[TR]
[TD="class: xl63"]222222[/TD]
[TD="class: xl64"]34[/TD]
[/TR]
[TR]
[TD="class: xl63"]222222[/TD]
[TD="class: xl64"]32[/TD]
[/TR]
[TR]
[TD="class: xl63"]333333[/TD]
[TD="class: xl64"]66[/TD]
[/TR]
[TR]
[TD="class: xl63"]333333[/TD]
[TD="class: xl64"]54[/TD]
[/TR]
[TR]
[TD="class: xl63"]444444[/TD]
[TD="class: xl64"]88[/TD]
[/TR]
[TR]
[TD="class: xl63"]111111[/TD]
[TD="class: xl64"]86[/TD]
[/TR]
[TR]
[TD="class: xl63"]222222[/TD]
[TD="class: xl64"]34[/TD]
[/TR]
[TR]
[TD="class: xl63"]222222[/TD]
[TD="class: xl64"]23[/TD]
[/TR]
</tbody>[/TABLE]
Ouput:
[TABLE="width: 128"]
<tbody>[TR]
[TD="class: xl67, width: 64"]Emp ID[/TD]
[TD="class: xl67, width: 64"]Values[/TD]
[/TR]
[TR]
[TD="class: xl66"]111111
[/TD]
[TD="class: xl65, align: right"]50
[/TD]
[/TR]
[TR]
[TD="class: xl66"]111111
[/TD]
[TD="class: xl65, align: right"]53
[/TD]
[/TR]
[TR]
[TD="class: xl66"]111111
[/TD]
[TD="class: xl65, align: right"]86
[/TD]
[/TR]
[TR]
[TD="class: xl66"]222222
[/TD]
[TD="class: xl65, align: right"]34
[/TD]
[/TR]
[TR]
[TD="class: xl66"]222222
[/TD]
[TD="class: xl65, align: right"]32
[/TD]
[/TR]
[TR]
[TD="class: xl66"]222222
[/TD]
[TD="class: xl65, align: right"]34
[/TD]
[/TR]
[TR]
[TD="class: xl66"]222222
[/TD]
[TD="class: xl65, align: right"]23
[/TD]
[/TR]
[TR]
[TD="class: xl66"]333333[/TD]
[TD="class: xl68"] 66[/TD]
[/TR]
[TR]
[TD="class: xl66"]333333[/TD]
[TD="class: xl68"] 54[/TD]
[/TR]
[TR]
[TD="class: xl66"]444444[/TD]
[TD="class: xl68"] 88[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 128"]
<tbody>[TR]
[TD="class: xl67, width: 64"]
[TD="class: xl67, width: 64"][/TD]
[/TR]
</tbody>[/TABLE]