How To Lookup & Populate Data From Vertical Range To Horizontal?

xlmaniac

Well-known Member
Joined
Jul 2, 2009
Messages
531
Office Version
  1. 2010
Platform
  1. Windows
Dear All,
I have a sample data set across A1:I10 as follows.
There are 6 components(Unique count) that could feature in a docket number.
But this will vary from docket to docket depending on the nature of transport & destination location.
I need to populate the freight bill components from vertically to horizontally.
Could somebody help me out with the solution for the same?
[TABLE="width: 611"]
<tbody>[TR]
[TD]Docket Number[/TD]
[TD]Head[/TD]
[TD]Amount[/TD]
[TD]ADB[/TD]
[TD]ENG[/TD]
[TD]INV[/TD]
[TD]NT[/TD]
[TD]RT[/TD]
[TD]ST[/TD]
[/TR]
[TR]
[TD]500345[/TD]
[TD]RT[/TD]
[TD]87[/TD]
[TD]7[/TD]
[TD]15[/TD]
[TD]64[/TD]
[TD]0[/TD]
[TD]87[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]ENG[/TD]
[TD]15[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]ADB[/TD]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]INV[/TD]
[TD]64[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]ADB[/TD]
[TD]ENG[/TD]
[TD]INV[/TD]
[TD]NT[/TD]
[TD]RT[/TD]
[TD]ST[/TD]
[/TR]
[TR]
[TD]500398[/TD]
[TD]ADB[/TD]
[TD]8[/TD]
[TD]8[/TD]
[TD]0[/TD]
[TD]98[/TD]
[TD]12[/TD]
[TD]0[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]INV[/TD]
[TD]98[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]NT[/TD]
[TD]12[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]ST[/TD]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Column-A[/TD]
[TD]Column-B[/TD]
[TD]Column-C[/TD]
[TD]Column-D[/TD]
[TD]Column-E[/TD]
[TD]Column-F[/TD]
[TD]Column-G[/TD]
[TD]Column-H[/TD]
[TD]Column-I[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Excel 2010
ABCDEFGHI
1Docket NumberHeadAmountADBENGINVNTRTST
2500345RT87715640870
3ENG15
4ADB7
5INV64
6ADBENGINVNTRTST
7500398ADB880981205
8INV98
9NT12
10ST5
Sheet2
Cell Formulas
RangeFormula
D2=IFERROR(VLOOKUP(D1,$B2:$C5,2,0),0)
 
Upvote 0
Dear Sheetspread,
Thanks a lot for all your help.
Really appreciate the same.
Regards
 
Upvote 0

Forum statistics

Threads
1,223,239
Messages
6,170,947
Members
452,368
Latest member
jayp2104

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top