most
Board Regular
- Joined
- Feb 22, 2011
- Messages
- 107
- Office Version
- 365
- 2019
- Platform
- Windows
- Mobile
Hello,
I need help with solving this issue, I want to find and fill data from another row and paste into same column.
I thought VLOOKUP could solve it, but it only works "down", not "up".
Orginal data looks like these
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]Grade[/TD]
[/TR]
[TR]
[TD]123456[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]123456[/TD]
[TD]Y_15[/TD]
[/TR]
[TR]
[TD]654321[/TD]
[TD]Y_16[/TD]
[/TR]
[TR]
[TD]654321[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
With
I get these results.
But expected result is that line 1 should have Y_15.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]Grade[/TD]
[/TR]
[TR]
[TD]123456[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]123456[/TD]
[TD]Y_15[/TD]
[/TR]
[TR]
[TD]654321[/TD]
[TD]Y_16[/TD]
[/TR]
[TR]
[TD]654321[/TD]
[TD]Y_16[/TD]
[/TR]
</tbody>[/TABLE]
I need help with solving this issue, I want to find and fill data from another row and paste into same column.
I thought VLOOKUP could solve it, but it only works "down", not "up".
Orginal data looks like these
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]Grade[/TD]
[/TR]
[TR]
[TD]123456[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]123456[/TD]
[TD]Y_15[/TD]
[/TR]
[TR]
[TD]654321[/TD]
[TD]Y_16[/TD]
[/TR]
[TR]
[TD]654321[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
With
Code:
=VLOOKUP(A2;A:B;2;FALSE)
But expected result is that line 1 should have Y_15.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]Grade[/TD]
[/TR]
[TR]
[TD]123456[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]123456[/TD]
[TD]Y_15[/TD]
[/TR]
[TR]
[TD]654321[/TD]
[TD]Y_16[/TD]
[/TR]
[TR]
[TD]654321[/TD]
[TD]Y_16[/TD]
[/TR]
</tbody>[/TABLE]