Formula to list unique names in range

daniels012

Well-known Member
Joined
Jan 13, 2005
Messages
5,219
I need a formula to create a list of names (starting in cell X16) to pull from the range B3:C90. I only need the names once.

I have seen way in the past a few Array formulas using Crtl-Shft-Enter, I just can't seem to find them now.

Any help is greatly appreciated.
Michael
 
Hi Michale

The following works with a single column data source:
Excel Workbook
AB
1ListUniques
2RichardRichard
3DanDan
4TerryTerry
5MichaelMichael
6RichardBob
7Terry#N/A
8Richard#N/A
9Bob#N/A
Sheet2
Excel 2002
#VALUE!
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
 
Upvote 0
HI
another way
Excel Workbook
AB
1ListUniques
2RichardRichard
3DanDan
4TerryTerry
5MichaelMichael
6RichardBob
7Terry
8Richard
9Bob
Sheet1
Excel 2010
#VALUE!
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}. Note: Do not try and enter these manually yourself
this formula from Bosco_yip
 
Upvote 0
Try...

E3, confirmed with CONTROL+SHIFT+ENTER, and copied down:

=INDEX($B$3:$C$10,SMALL(IF(ISNA(MATCH($B$3:$C$10,$E$2:E2,0)),ROW($B$3:$C$10)-ROW($B$3)+1),1),RIGHT(MIN(IF(ISNA(MATCH($B$3:$C$10,$E$2:E2,0)),(ROW($B$3:$C$10)-ROW($B$3)+1)*10^5+(COLUMN($B$3:$C$10)-COLUMN($B$3)+1))),5)+0)
 
Upvote 0
Domenic,
I am assuming your column E is where the formula is to be placed?
Mine is Column X Starting at Cell X16
Easy enough, I can change your E to X

My Range I have named is "tbl_text" which is B3:C90, should I un-name this to make the formula work?

Thank You,
Michael
 
Upvote 0
Try...

X16, confirmed with CONTROL+SHIFT+ENTER, and copied down:

=INDEX(tbl_text,SMALL(IF(ISNA(MATCH(tbl_text,$X$15:X15,0)),ROW(tbl_text)-MIN(ROW(tbl_text))+1),1),RIGHT(MIN(IF(ISNA(MATCH(tbl_text,$X$15:X15,0)),(ROW(tbl_text)-MIN(ROW(tbl_text))+1)*10^5+(COLUMN(tbl_text)-MIN(COLUMN(tbl_text))+1))),5)+0)
 
Upvote 0
That is soooooo awesome.
I have looked on the internet and searched here and have not found the right formula. This is great.
I thank you so much,
Michael

ps. One other thing (but not that important). Is there a way to not include a cell if it is blank, so the blank cell does not show as one of the names. Again, I will live with it if it is big hassle to edit the formula, I just thought I would ask!!!
 
Upvote 0
I thank you so much,

You're very welcome!

Is there a way to not include a cell if it is blank, so the blank cell does not show as one of the names.

Try...

X16, confirmed with CONTROL+SHIFT+ENTER, and copied down:

=INDEX(tbl_text,SMALL(IF(tbl_text<>"",IF(ISNA(MATCH(tbl_text,$X$15:X15,0)),ROW(tbl_text)-MIN(ROW(tbl_text))+1)),1),RIGHT(MIN(IF(tbl_text<>"",IF(ISNA(MATCH(tbl_text,$X$15:X15,0)),(ROW(tbl_text)-MIN(ROW(tbl_text))+1)*10^5+(COLUMN(tbl_text)-MIN(COLUMN(tbl_text))+1)))),5)+0)
 
Upvote 0

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