jmattingly85
New Member
- Joined
- Jul 12, 2010
- Messages
- 37
- Office Version
- 365
- Platform
- Windows
I am needing some assistance with VLOOKUP, and that might not even be what I need to use. I have an Excel spreadsheet of data that currently looks as follows:
[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]Name[/TD]
[TD]Code[/TD]
[TD]Amount[/TD]
[/TR]
[TR]
[TD]NAME A[/TD]
[TD]code 1[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]NAME A[/TD]
[TD]code 2[/TD]
[TD]13[/TD]
[/TR]
[TR]
[TD]NAME A[/TD]
[TD]code 3[/TD]
[TD]81[/TD]
[/TR]
[TR]
[TD]NAME B[/TD]
[TD]code 3[/TD]
[TD]56[/TD]
[/TR]
[TR]
[TD]NAME B[/TD]
[TD]code 2[/TD]
[TD]98[/TD]
[/TR]
[TR]
[TD]NAME C[/TD]
[TD]code 2[/TD]
[TD]67[/TD]
[/TR]
[TR]
[TD]NAME C[/TD]
[TD]code 3[/TD]
[TD]56[/TD]
[/TR]
[TR]
[TD]NAME C[/TD]
[TD]code 1[/TD]
[TD]12[/TD]
[/TR]
</tbody>[/TABLE]
What I need to is get all of the data in Column B to be in columns D, E and F by their code description as follows:
[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]Name[/TD]
[TD]Code[/TD]
[TD]Amount[/TD]
[TD]Code 1[/TD]
[TD]Code 2[/TD]
[TD]Code 3[/TD]
[/TR]
[TR]
[TD]NAME A[/TD]
[TD][/TD]
[TD][/TD]
[TD]12[/TD]
[TD]14[/TD]
[TD]81[/TD]
[/TR]
[TR]
[TD]NAME B[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]98[/TD]
[TD]56[/TD]
[/TR]
[TR]
[TD]NAME C[/TD]
[TD][/TD]
[TD][/TD]
[TD]12[/TD]
[TD]67[/TD]
[TD]56[/TD]
[/TR]
</tbody>[/TABLE]
Is this possible to do fairly easy?
[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]Name[/TD]
[TD]Code[/TD]
[TD]Amount[/TD]
[/TR]
[TR]
[TD]NAME A[/TD]
[TD]code 1[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]NAME A[/TD]
[TD]code 2[/TD]
[TD]13[/TD]
[/TR]
[TR]
[TD]NAME A[/TD]
[TD]code 3[/TD]
[TD]81[/TD]
[/TR]
[TR]
[TD]NAME B[/TD]
[TD]code 3[/TD]
[TD]56[/TD]
[/TR]
[TR]
[TD]NAME B[/TD]
[TD]code 2[/TD]
[TD]98[/TD]
[/TR]
[TR]
[TD]NAME C[/TD]
[TD]code 2[/TD]
[TD]67[/TD]
[/TR]
[TR]
[TD]NAME C[/TD]
[TD]code 3[/TD]
[TD]56[/TD]
[/TR]
[TR]
[TD]NAME C[/TD]
[TD]code 1[/TD]
[TD]12[/TD]
[/TR]
</tbody>[/TABLE]
What I need to is get all of the data in Column B to be in columns D, E and F by their code description as follows:
[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]Name[/TD]
[TD]Code[/TD]
[TD]Amount[/TD]
[TD]Code 1[/TD]
[TD]Code 2[/TD]
[TD]Code 3[/TD]
[/TR]
[TR]
[TD]NAME A[/TD]
[TD][/TD]
[TD][/TD]
[TD]12[/TD]
[TD]14[/TD]
[TD]81[/TD]
[/TR]
[TR]
[TD]NAME B[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]98[/TD]
[TD]56[/TD]
[/TR]
[TR]
[TD]NAME C[/TD]
[TD][/TD]
[TD][/TD]
[TD]12[/TD]
[TD]67[/TD]
[TD]56[/TD]
[/TR]
</tbody>[/TABLE]
Is this possible to do fairly easy?