lookup help

Melanie

New member
Joined
Dec 18, 2014
Messages
2
Reaction score
0
Points
0
OK i need a little help, I'm still new to excel:
on sheet1, column A i have a list of employees in column B i have "Y" if they sent in there paperwork, "I" if it was incomplete and blank if i haven't received it yet:

Name
Paperwork
John DoeY
Jane DowY
Micheal SmithI
Cinderella Dream
Snow WhiteI
Jane Smith
John SmithY
Susie SmithI


i want on a separate sheet (sheet2) in the same workbook to populate a list of the names of people who i haven't received the paperwork yet and another list of the name of the people who's paperwork is incomplete. please help and thank you in advance.
 
Assuming the table is in Sheet1!A1:B10 (adjust ranges and names as necessary)....

Try:

=IFERROR(INDEX(Sheet1!$A$2:$A$10,SMALL(IF(Sheet1!$B$2:$B$10="Y",ROW(Sheet1!$A$2:$A$10)-ROW(Sheet1!$A$2)+1),ROWS($A$2:$A2))),"")

You need to confirm the formula with CTRL+SHIFT+ENTER not just ENTER, then you can copy it down as far as you need to ensure all names are captured (suggest to copy down same distance as original table).

repeat with similar formula replacing Sheet1!$B$2:$B$10="Y" with Sheet1!$B$2:$B$10="I" for other critera.
 
Back
Top