Reputation: 1
I have two sheets. On the first sheet there are 2 columns: name and date of birth. On the second sheet in the first column, a drop-down list from the name on the first sheet.
How on the second sheet in the second column automatically add the date of birth of a person??
Upvotes: 0
Views: 52
Reputation: 1908
Use like this, see the attached sample pict:
=filter ( VLOOKUP ( A2:A, filter ( Log!A2:B, Log!A2:A<>"" ), 2, 0), A2:A <> "")
Log Sheet
Working Sheet:
Upvotes: 0
Reputation: 1
use:
=VLOOKUP(A1, Sheet1!A:B, 2, 0)
for array use:
=ARRAYFORMULA(IFNA(VLOOKUP(A1:A, Sheet1!A:B, 2, 0)))
Upvotes: 1