# INDEX WITH TRANSPOSE FORMULA iIN EXCEL

#### SAXON10

##### Board Regular
Hi,

Column A2:A20 Contain with duplication text and the result should be appear in C2 without duplication.

Any help much appreciated.

 CODE RESULT 1515 1515 1616 1717 1515 1515 1515 1515 1616 1616 1616 1616 1616 1616 1717 1717 1717 1717 1717 1717

<colgroup><col><col><col span="3"></colgroup><tbody>
</tbody>

#### Marcelo Branco

##### MrExcel MVP
Try

Array formula in C2 copied across
=IFERROR(INDEX(\$A\$2:\$A\$20,SMALL(IF(FREQUENCY(IF(\$A\$2:\$A\$20<>"",MATCH(\$A\$2:\$A\$20,\$A\$2:\$A\$20,0)),ROW(\$A\$2:\$A\$20)-ROW(\$A\$2)+1),ROW(\$A\$2:\$A\$20)-ROW(\$A\$2)+1),COLUMNS(\$C2:C2))),"")
Ctrl+Shift+Enter

M.

#### AhoyNC

##### Well-known Member
If you have Excel 2016 you could use the TEXTJOIN function to be all the results into C2.

This is also an array formula that must be entered with CTRL-SHIFT-ENTER.
Excel Workbook
ABC
1CODERESULT
21515
31515
41515
51515
61515
7
81616
91616
101616
111616
121616
131616
14
151717
161717
171717
181717
191717
201717
Sheet

#### SAXON10

##### Board Regular
thanks for your help formula working fine.

1,082,269
Messages
5,364,145
Members
400,783
Latest member
sambills

### This Week's Hot Topics

• populate from drop list with multiple tables
Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
• Find list of words from sheet2 in sheet1 before a comma and extract text vba
Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
• Dynamic Formula entry - VBA code sought
Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...