Creating a list based on yes/no column of another list

infopull

New Member
Joined
Jun 27, 2011
Messages
1
I have a list a people, in alphabetical order by last name, I sent an invitation to. As RSVPs come in I mark in a separate column that they are attending. On a separate sheet I would like to search the "attending" column and only include in that list the people that are attending.

I was tried; Index, If, Vlookup, etc. They work...kind of...I don't want the blank cells associated with the people not attending, inbetween the cells with information I need.

I'm sure I need to nest multiple functions in one, but I can't figure out what, or the order needed.

Another way of saying it...Search a column, find a true value and input the related information. If false, keep searching till the next true value is found.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
I have a list a people, in alphabetical order by last name, I sent an invitation to. As RSVPs come in I mark in a separate column that they are attending. On a separate sheet I would like to search the "attending" column and only include in that list the people that are attending.

I was tried; Index, If, Vlookup, etc. They work...kind of...I don't want the blank cells associated with the people not attending, inbetween the cells with information I need.

I'm sure I need to nest multiple functions in one, but I can't figure out what, or the order needed.

Another way of saying it...Search a column, find a true value and input the related information. If false, keep searching till the next true value is found.

Did you consider using AutoFilter or Advanced Filter?

If you want to do with formulas, How did you mark attending: With Yes/No? By the way, which ranges are involved?
 
Upvote 0
I have a list a people, in alphabetical order by last name, I sent an invitation to. As RSVPs come in I mark in a separate column that they are attending. On a separate sheet I would like to search the "attending" column and only include in that list the people that are attending.

I was tried; Index, If, Vlookup, etc. They work...kind of...I don't want the blank cells associated with the people not attending, inbetween the cells with information I need.

I'm sure I need to nest multiple functions in one, but I can't figure out what, or the order needed.

Another way of saying it...Search a column, find a true value and input the related information. If false, keep searching till the next true value is found.
So, names are in column A and column B contains either Yes, No or blank and you want to get the list of names that corresponds to Yes?
 
Upvote 0
So, names are in column A and column B contains either Yes, No or blank and you want to get the list of names that corresponds to Yes?
Try this...

Book1
AB
1NameStatus
2Name1No
3Name2Yes
4Name3Yes
5Name4Yes
6Name5Yes
7Name6No
8Name7_
9Name8_
10Name9Yes
Sheet1

Book1
AB
1CountNames
25Name2
3_Name3
4_Name4
5_Name5
6_Name9
7__
Sheet2

In the formulas I use the following defined named ranges:
  • Names
  • Refers to: =Sheet1!$A:$A
  • Status
  • Refers to: =Sheet1!$B$2:$B$10
Enter this formula on Sheet2 in cell A2. This will return the count of records that meet the condition.

=COUNTIF(Status,"yes")

Enter this array formula** in B2:

=IF(ROWS(B$2:B2)>A$2,"",INDEX(Names,SMALL(IF(Status="yes",ROW(Status)),ROWS(B$2:B2))))

** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.

Copy down until you get blanks.
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,738
Members
452,940
Latest member
Lawrenceiow

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