Index match Row to column

SAXON10

Board Regular
Joined
Jun 1, 2017
Messages
109
Hi,

Colum A and B contain code. I need code row to column without duplication.

I prefer non array formula solutions.

Any much appreciated.


[TABLE="width: 95"]
<colgroup><col width="64" style="width: 48pt;"><colgroup><col width="63" style="width: 47pt; mso-width-source: userset; mso-width-alt: 2304;"><tbody>[TR]
[TD="width: 64, bgcolor: transparent"]CODE A
[/TD]
[TD="width: 63, bgcolor: transparent"]CODE B[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]111
[/TD]
[TD="bgcolor: transparent"]7879[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]111
[/TD]
[TD="bgcolor: transparent"]7879[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]111
[/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]111
[/TD]
[TD="bgcolor: transparent"]556[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]556[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]333
[/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]333
[/TD]
[TD="bgcolor: transparent"]557
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]333
[/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]111[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]6765
[/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]6765
[/TD]
[TD="bgcolor: transparent"]889[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]6765
[/TD]
[TD="bgcolor: transparent"]889[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]6765
[/TD]
[TD="bgcolor: transparent"]889[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]6765
[/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]786[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]889
[/TD]
[TD="bgcolor: transparent"]786[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]889
[/TD]
[TD="bgcolor: transparent"]786
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]889
[/TD]
[TD="bgcolor: transparent"]786[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]889
[/TD]
[TD="bgcolor: transparent"]786
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 377"]
<colgroup><col width="119" style="width: 89pt; mso-width-source: userset; mso-width-alt: 4352;"><colgroup><col width="64" style="width: 48pt;" span="6"><tbody>[TR]
[TD="width: 119, bgcolor: transparent"]
DESIRED RESULT

[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]CODE A
[/TD]
[TD="bgcolor: transparent"]111[/TD]
[TD="bgcolor: transparent"]333[/TD]
[TD="bgcolor: transparent"]6765[/TD]
[TD="bgcolor: transparent"]889[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]CODE B
[/TD]
[TD="bgcolor: transparent"]7879[/TD]
[TD="bgcolor: transparent"]556[/TD]
[TD="bgcolor: transparent"]557[/TD]
[TD="bgcolor: transparent"]111[/TD]
[TD="bgcolor: transparent"]889[/TD]
[TD="bgcolor: transparent"]786[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
The new functions in Excel 365 make quick work of this task. If you are using the Insider Fast version of Excel 365, this is the solution.

[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]
Book1
ABCDEFG
1CODE ACODE B
21117879
31117879
4111
5111556
6556
7333
8333557
9333
10111
116765
126765889
136765889
146765889
156765
16786
17889786
18889786
19889786
20889786
21
22CODE A1113336765889
23Code A (sorted)1113338896765
24CODE B7879556557111889786
25Code B (sorted)1115565577868897879
Sheet43
Cell Formulas
RangeFormula
B22=TRANSPOSE((UNIQUE(FILTER(A2:A20,A2:A20,),0)))
B23=SORT(TRANSPOSE((UNIQUE(FILTER(A2:A20,A2:A20,),0))),,1,1)
B24=TRANSPOSE((UNIQUE(FILTER(B2:B20,B2:B20,),0)))
B25=SORT(TRANSPOSE((UNIQUE(FILTER(B2:B20,B2:B20,),0))),,1,1)
[/FONT]
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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