INDEX WITH TRANSPOSE FORMULA iIN EXCEL

SAXON10

Board Regular
Joined
Jun 1, 2017
Messages
107
Hi,

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

Any help much appreciated.

CODERESULT
1515151516161717
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
Joined
Aug 23, 2010
Messages
16,317
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
Joined
Oct 10, 2011
Messages
4,344
Office Version
365
Platform
Windows
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
 

Forum statistics

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

Some videos you may like

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...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top