Formula for getting duplicate values on data validation

RAMU

Active Member
Joined
Dec 11, 2009
Messages
345
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
  2. Mobile
Dear Friends,

I have a sheet "supplier".
In sheet 2 I am inputting the following array formula:

{=IFERROR(INDEX(supplier!$B$2:$B$4377,MATCH(0,IF(supplier!$A$2:$A$4377=$G$9,COUNTIF($G$10:G10,supplier!$B$2:$B$4377)),0)),"")}

The formula is given from G11 to G23 by which data are snatched from "supplier" sheet. By this formula here duplicate values are ignored.

G9 cell is data validated.

Now I want that duplicate values will be shown in G11 to G23 or more as it is which are available in column B of "supplier" sheet.

Kindly help.

Regards
RAMU
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
In sheet 2 cell G11, try this formula (not array entry) and copy down.

=IFERROR(INDEX(supplier!$B$2:$B$4377,AGGREGATE(15,6,(ROW(supplier!$B$2:$B$4377)-ROW(supplier!$B$2)+1)/(supplier!$A$2:$A$4377=$G$9),ROWS(G$11:G11))),"")
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,327
Members
452,635
Latest member
laura12345

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