Creating a new list from existing list based on condition

RLPercy

New Member
Joined
Sep 14, 2011
Messages
1
Hi All,

Looking for some help with creating a list. In one sheet I have a list on names of people belonging to a group (column A) and then a simple y/n entry in column B as to whether they are active members or not.

I have 250 names in column A, but only 135 in column B that are active members (y)

What I am trying to do is to automatically create a list in a new sheet of those members that are active so that I end up with list of 135 names in the new sheet (one after the other) without any repetition. I am trying to achieve this using only formulas and without any VBA code (as I know nothing about VBA)

The closest I have got is:

=INDEX(A1:A250,MATCH("y",B1:B250,0))


and then copying this down. The problem is that I end up with multiple entries for the same name when the formula does not find a "y".

(I realise the above doesn't reference a different sheet - I have taken that out for clarity. )

I am sure that I am probably just missing something straight forward but it is driving me crazy.

Thanks for any suggestions - would really appreciate it.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Forum statistics

Threads
1,224,603
Messages
6,179,850
Members
452,948
Latest member
UsmanAli786

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