G
Guest
Can someone please help me tweak my vlookup formulas so that the 'Client-Aide
Schedule'! sheet can display all the employees associated with a Case-Id in
'Employee Roster'! sheet that has more than 1 employee? Below is some random
data...please note that the current formulas only capture the first occurene
ie., 00057, 00058 when they are in the same lookup column. Below are the
Sheets in Question:
'JNNR Client Roster '!
CASE-ID LASTNAME
00001 TANNENBAUM
00002 SHELTON
00003 COOK
00007 CUSTEAU
00008 SINGER
00012 KREDA
00013 WAXMAN
00018 SIMON
00020 KATSKEE
00026 KELLER
00028 JOHNSTON
00031 GROSS
00040 WEIGNER
00042 SELIGMAN
00043 BREM
00048 KATZ
00049 LASHIN
00051 KOHN
00052 COHEN
00054 COOPER
00055 GOFF
00056 BOAM
00057 FARRACI
00058 GORDON
00059 SPENCE
00060 GINSBERG
00061 SCHRAG
00077 JOHNSON
99999 BLACKMAN
X1 KATZ
X2 MARDER
X3 REINDERS
X4 REISCHER
X5 GLASS
'Employee Roster'!
CASE-ID CASE-ID CASE-ID LASTNAME
00007 00043 00058 Stewart
00056 00055 00058 Thomas
00008 00042 Guerrero
00057 00059 Brinson
00001 00060 Distant
00042 00061 Lopez
00051 00061 Nievas
00061 X4 Plummer
00002 Toussaint
00003 LASTN2
00007 Jeremie
00008 San Julian
00012 Burgess
00013 Joseph
00018 Andrews
00020 Frizarim
00026 Roca
00028 Harris
00031 Burneth
00040 Cole
00040 Lozano
00043 Jean Jacques
00048 Atkinson
00049 Sparrow
00052 Williams
00054 Campbell
00055 Malva
00057 Bravo
00057 Hemmings
00057 Martinez
00058 Dalton
99999 Barbot
99999 Walker
X1 Lorissaint
X1 Moncur
X2 Londono
X3 Chantze
X5 LASTN
results w/current vlookup formulas
EMP NAME1 {=IF(ISERROR(VLOOKUP(J6,'Employee
Roster'!B$5:E$50,4,FALSE)),"",VLOOKUP(J6,'Employee Roster'!B$5:E$50,4,FALSE))}
EMP NAME2 {=IF(ISERROR(VLOOKUP(J6,'Employee
Roster'!C$5:E$50,3,FALSE)),"",VLOOKUP(J6,'Employee Roster'!C$5:E$50,3,FALSE))}
EMP NAME3 {=IF(ISERROR(VLOOKUP(J6,'Employee
Roster'!D$5:E$50,2,FALSE)),"",VLOOKUP(J6,'Employee Roster'!D$5:E$50,2,FALSE))}
'Client-Aide Schedule'!
CASE-ID CLIENT NAME EMP NAME1 EMP NAME2 EMP NAME3 EMP NAME4
00001 TANNENBAUM Distant
00002 SHELTON Toussaint
00003 COOK LASTN2
00007 CUSTEAU Stewart
00008 SINGER Guerrero
00012 KREDA Burgess
00013 WAXMAN Joseph
00018 SIMON Andrews
00020 KATSKEE Frizarim
00026 KELLER Roca
00028 JOHNSTON Harris
00031 GROSS Burneth
00040 WEIGNER Cole
00042 SELIGMAN Lopez Guerrero
00043 BREM Jean Jacques Stewart
00048 KATZ Atkinson
00049 LASHIN Sparrow
00051 KOHN Nievas
00052 COHEN Williams
00054 COOPER Campbell
00055 GOFF Malva Thomas
00056 BOAM Thomas
00057 FARRACI Brinson
00058 GORDON Dalton Stewart
00059 SPENCE Brinson
00060 GINSBERG Distant
00061 SCHRAG Plummer Lopez
00077 JOHNSON
99999 BLACKMAN Barbot
X1 KATZ Lorissaint
X2 MARDER Londono
X3 REINDERS Chantze
X4 REISCHER Plummer
X5 GLASS LASTN
Schedule'! sheet can display all the employees associated with a Case-Id in
'Employee Roster'! sheet that has more than 1 employee? Below is some random
data...please note that the current formulas only capture the first occurene
ie., 00057, 00058 when they are in the same lookup column. Below are the
Sheets in Question:
'JNNR Client Roster '!
CASE-ID LASTNAME
00001 TANNENBAUM
00002 SHELTON
00003 COOK
00007 CUSTEAU
00008 SINGER
00012 KREDA
00013 WAXMAN
00018 SIMON
00020 KATSKEE
00026 KELLER
00028 JOHNSTON
00031 GROSS
00040 WEIGNER
00042 SELIGMAN
00043 BREM
00048 KATZ
00049 LASHIN
00051 KOHN
00052 COHEN
00054 COOPER
00055 GOFF
00056 BOAM
00057 FARRACI
00058 GORDON
00059 SPENCE
00060 GINSBERG
00061 SCHRAG
00077 JOHNSON
99999 BLACKMAN
X1 KATZ
X2 MARDER
X3 REINDERS
X4 REISCHER
X5 GLASS
'Employee Roster'!
CASE-ID CASE-ID CASE-ID LASTNAME
00007 00043 00058 Stewart
00056 00055 00058 Thomas
00008 00042 Guerrero
00057 00059 Brinson
00001 00060 Distant
00042 00061 Lopez
00051 00061 Nievas
00061 X4 Plummer
00002 Toussaint
00003 LASTN2
00007 Jeremie
00008 San Julian
00012 Burgess
00013 Joseph
00018 Andrews
00020 Frizarim
00026 Roca
00028 Harris
00031 Burneth
00040 Cole
00040 Lozano
00043 Jean Jacques
00048 Atkinson
00049 Sparrow
00052 Williams
00054 Campbell
00055 Malva
00057 Bravo
00057 Hemmings
00057 Martinez
00058 Dalton
99999 Barbot
99999 Walker
X1 Lorissaint
X1 Moncur
X2 Londono
X3 Chantze
X5 LASTN
results w/current vlookup formulas
EMP NAME1 {=IF(ISERROR(VLOOKUP(J6,'Employee
Roster'!B$5:E$50,4,FALSE)),"",VLOOKUP(J6,'Employee Roster'!B$5:E$50,4,FALSE))}
EMP NAME2 {=IF(ISERROR(VLOOKUP(J6,'Employee
Roster'!C$5:E$50,3,FALSE)),"",VLOOKUP(J6,'Employee Roster'!C$5:E$50,3,FALSE))}
EMP NAME3 {=IF(ISERROR(VLOOKUP(J6,'Employee
Roster'!D$5:E$50,2,FALSE)),"",VLOOKUP(J6,'Employee Roster'!D$5:E$50,2,FALSE))}
'Client-Aide Schedule'!
CASE-ID CLIENT NAME EMP NAME1 EMP NAME2 EMP NAME3 EMP NAME4
00001 TANNENBAUM Distant
00002 SHELTON Toussaint
00003 COOK LASTN2
00007 CUSTEAU Stewart
00008 SINGER Guerrero
00012 KREDA Burgess
00013 WAXMAN Joseph
00018 SIMON Andrews
00020 KATSKEE Frizarim
00026 KELLER Roca
00028 JOHNSTON Harris
00031 GROSS Burneth
00040 WEIGNER Cole
00042 SELIGMAN Lopez Guerrero
00043 BREM Jean Jacques Stewart
00048 KATZ Atkinson
00049 LASHIN Sparrow
00051 KOHN Nievas
00052 COHEN Williams
00054 COOPER Campbell
00055 GOFF Malva Thomas
00056 BOAM Thomas
00057 FARRACI Brinson
00058 GORDON Dalton Stewart
00059 SPENCE Brinson
00060 GINSBERG Distant
00061 SCHRAG Plummer Lopez
00077 JOHNSON
99999 BLACKMAN Barbot
X1 KATZ Lorissaint
X2 MARDER Londono
X3 REINDERS Chantze
X4 REISCHER Plummer
X5 GLASS LASTN