I have two spreadsheets that I need to do a vlookup to bring values from one to the other. This I know how to do, however, I need an IF statement to ensure I bring over the right value when there are one to many.
Sheet 1 columns
A B C D E
EE SSN FullName Dep 1 Dep 2 Dep 3
111-11-1111 Smith, Joe
Sheet 2 columns
A B C
EE SSN Dep # Dep FullName
111-11-1111 1 Smith, Billy
111-11-1111 2 Smith, Jill
111-11-1111 3 Smith, Bob
I want my vlookup to put Smith, Billy is column C of sheet 1, Smith, Jill in column D of sheet 1 and Smith, Bob in column E of sheet 1.
I know I need a vlookup in each of the three columns of sheet one but don't know how to right the IF with the VLOOKUP.
TIA!
Sheet 1 columns
A B C D E
EE SSN FullName Dep 1 Dep 2 Dep 3
111-11-1111 Smith, Joe
Sheet 2 columns
A B C
EE SSN Dep # Dep FullName
111-11-1111 1 Smith, Billy
111-11-1111 2 Smith, Jill
111-11-1111 3 Smith, Bob
I want my vlookup to put Smith, Billy is column C of sheet 1, Smith, Jill in column D of sheet 1 and Smith, Bob in column E of sheet 1.
I know I need a vlookup in each of the three columns of sheet one but don't know how to right the IF with the VLOOKUP.
TIA!