Excelllllllllllllllllllll
Board Regular
- Joined
- Jun 13, 2017
- Messages
- 108
[TABLE="width: 500"]
<tbody>[TR]
[TD]0[/TD]
[TD]A[/TD]
[TD]=VLOOKUP($D$1,$A$25:$B$25,2)[/TD]
[TD]26[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]B[/TD]
[TD]=VLOOKUP($D$1,$A$25:$B$25,2)[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]C[/TD]
[TD]=VLOOKUP($D$1,$A$25:$B$25,2)[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]D[/TD]
[TD]=VLOOKUP($D$1,$A$25:$B$25,2)[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]...[/TD]
[TD]...[/TD]
[TD]...[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Column A has numbers from 0 to 25.
Column B has the letters of the alphabet.
Column C should only have the letter that is looked up from Cell D1.
I've ran into the problem where if I lookup a number higher than 25 I get an error - obviously.
I was wondering if there's a workaround where VLOOKUP will reset after 25 so if, for example the number 26 is looked up it goes back to the letter A. If 27 was looked up it shows B. Etc.
The lookup value is unlimited so the only way I can think of to get around this is to copy-paste A:B all the way to the end of the worksheet (1048576) and even then I won't be able to look for the next number.
Please help.
<tbody>[TR]
[TD]0[/TD]
[TD]A[/TD]
[TD]=VLOOKUP($D$1,$A$25:$B$25,2)[/TD]
[TD]26[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]B[/TD]
[TD]=VLOOKUP($D$1,$A$25:$B$25,2)[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]C[/TD]
[TD]=VLOOKUP($D$1,$A$25:$B$25,2)[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]D[/TD]
[TD]=VLOOKUP($D$1,$A$25:$B$25,2)[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]...[/TD]
[TD]...[/TD]
[TD]...[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Column A has numbers from 0 to 25.
Column B has the letters of the alphabet.
Column C should only have the letter that is looked up from Cell D1.
I've ran into the problem where if I lookup a number higher than 25 I get an error - obviously.
I was wondering if there's a workaround where VLOOKUP will reset after 25 so if, for example the number 26 is looked up it goes back to the letter A. If 27 was looked up it shows B. Etc.
The lookup value is unlimited so the only way I can think of to get around this is to copy-paste A:B all the way to the end of the worksheet (1048576) and even then I won't be able to look for the next number.
Please help.