Ignore duplicates and create new row of unique values in excel?

iamkris10jenn

New Member
Joined
Aug 25, 2014
Messages
6
I have seen this question asked and answered in various forums with columns of data, but never rows of data. Modifications I have tried have not worked for me. :confused:

I have several rows (>5,000) containing values in columns A-G that often appear as duplicates. I need to create a horizontal list of unique values in columns I-O based on the first set of values, as follows...

ABCDEFGHIJKLMNO
Row 111223341234
Row 2121111112
Row 334332234
Row 412345671234567
.
.

<tbody>
</tbody>

The unique list doesn't need to be in order, but does need to be next to the original data (there is other associated data in additional columns) and I'm not able to paste/transpose, filter, etc. as the information in this sheet changes regularly. The values listed above are numbers for ease of reading but the actual data in each cell is alphanumeric (e.g. 7AGG00123). This should be accomplished via formulas (no VBA please).

Any help is appreciated!!

<code>
</code>
 
Last edited:

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
They are a mix of numbers and text, usually something that looks like this: 7AG-G008-04

I1, control+shift+enter, not just enter, copy across, and down:
Rich (BB code):
=IFERROR(INDEX($A1:$G1,SMALL(IF(FREQUENCY(IF($A1:$G1<>"",
  MATCH($A1:$G1,$A1:$G1,0)),Ivec),Ivec),COLUMNS($I1:I1))),"")

Ivec is defined using Formulas | Name Manager as referring to:
Rich (BB code):
=TRANSPOSE(COLUMN(Sheet1!$A$1:$G$1)-COLUMN(Sheet1!$A$1)+1)

Adjust the sheet name to suit.
 
Upvote 0

Forum statistics

Threads
1,203,761
Messages
6,057,215
Members
444,914
Latest member
Mamun12345

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