Build a column of unique names from rows in a different column

Kalemaroni

New Member
Joined
Sep 15, 2020
Messages
9
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Say I have column A consisting of:

One
Two
Three
One
Four
House
House

I want column B to list just the unique rows of column A:
One
Two
Three
Four
House

Is this possible to do in a formula or does it require VBA?

Many thanks in advance
 

Some videos you may like

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

mehidy1437

Active Member
Joined
Nov 15, 2019
Messages
270
Office Version
  1. 2013
Platform
  1. Windows
  2. Mobile
  3. Web
Put the formula in B2 & see,

=IFERROR(INDEX($A$2:$A$8, MATCH(0, INDEX(COUNTIF($B$1:B1, $A$2:$A$8), 0, 0), 0)), "")
 

mehidy1437

Active Member
Joined
Nov 15, 2019
Messages
270
Office Version
  1. 2013
Platform
  1. Windows
  2. Mobile
  3. Web
Book1
AB
1
2OneOne
3TwoTwo
4ThreeThree
5OneFour
6FourHouse
7House 
8House 
Sheet1
Cell Formulas
RangeFormula
B2:B8B2=IFERROR(INDEX($A$2:$A$8, MATCH(0, INDEX(COUNTIF($B$1:B1, $A$2:$A$8), 0, 0), 0)), "")
 

mehidy1437

Active Member
Joined
Nov 15, 2019
Messages
270
Office Version
  1. 2013
Platform
  1. Windows
  2. Mobile
  3. Web
you are welcome & thanks for the feedback.
 

Watch MrExcel Video

Forum statistics

Threads
1,123,426
Messages
5,601,595
Members
414,462
Latest member
StageRiis

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
Top