List rows if item in one column is unique

J

Jan Kronsell

I have a list like this (two columns)

A B
1 John
2 Brian
3 Benny
4 John
5 Bill
6 Jonathan
7 Brian
8 Edward
....

Somewhere else in the sheet, I like a listing of rows, but only each name
from column B once like

D E
1 John
2 Brian
3 Benny
5 Bill
6 Jonathan
8 Edward

Can this be done, using only spreadsheet functions or do I have to use a VBA
solution?

I have tried using the "Unique only" in ther Advanced Filter, but if I have
both columns in the Filter Range, the rows are not unique, and if I leave
out column A, it only copies the unuique rows from column B, not the numbers
from column A.

Jan
 
G

Gord Dibben

Select Column B

Data>Filter>Advanced filter.

Filter in place. Unique records only>Ok

Now just select the filter results and copy.

Paste where you wish.


Gord Dibben MS Excel MVP
 
J

Jan Kronsell

Thanks.

Jan

Gord said:
Select Column B

Data>Filter>Advanced filter.

Filter in place. Unique records only>Ok

Now just select the filter results and copy.

Paste where you wish.


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top