Return Distinct Values Based on Different Criteria

HeyMike

New Member
Joined
Mar 1, 2012
Messages
22
Hello,

I am looking for a formula that will return the distinct values of a list based on a criteria.

t8n4o9.jpg


For example...the formula would go into cell D4, and it would return the distinct "Item Names" in column B based on the "Group" in column A.

Any ideas?

Thanks!
Mike
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
you can try in D4...

=IFERROR(INDEX($B$4:$B$9,SMALL(IF(FREQUENCY(IF($B$4:$B$9<>"",IF(D$3=$A$4:$A$9,MATCH($B$4:$B$9,$B$4:$B$9,0))),ROW(A$4:A$9)-ROW(A$4)+1),ROW(A$4:A$9)-ROW(A$4)+1),ROWS(D$4:D4))),"") Control Shift Enter
 
Upvote 0

Forum statistics

Threads
1,226,739
Messages
6,192,740
Members
453,755
Latest member
IQBS

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