List only unique occurances in small function

rhaney

Board Regular
Joined
Sep 27, 2009
Messages
64
Good afternoon.

I have a formula which works correctly upon confirming with control+shift+enter, except that I need it to only list the unique values.

As it stands now, it will list all data in the range such as:

a
a
a
b
b
c
c
c
c

and I need it to list only unique occurrances of the data such as:

a
b
c

=IF(ISERROR(INDEX('Master store info'!$A$1:$AC$3000,SMALL(IF('Master store info'!$B$1:$B$3000=$F$5,ROW('Master store info'!$B$1:$B$3000)),ROW(1:1)),3)),"",INDEX('Master store info'!$A$1:$AC$3000,SMALL(IF('Master store info'!$B$1:$B$3000=$F$5,ROW('Master store info'!$B$1:$B$3000)),ROW(1:1)),3))

Thank you!

Robert
 
Thank Ron - I'm not the OP, but the regular formula (post 2007) solves my problem. If it's not too much trouble, can you tell us how it works? As near as I can figure, the inner index function is passing an array to the outer match function, but doing so without a CSE entry?
 
Upvote 0

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Thank Ron - I'm not the OP, but the regular formula (post 2007) solves my problem. If it's not too much trouble, can you tell us how it works? As near as I can figure, the inner index function is passing an array to the outer match function, but doing so without a CSE entry?
Actually, you've described exactly what the inner INDEX function does.
It converts an array that would typically need CTRL+SHIFT+ENTER into an implicit array that Excel can work with (without the C+S+E)
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,828
Members
452,946
Latest member
JoseDavid

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