JOY
JOY

Reputation: 389

Find a cell value on another sheet with condition

I have Sheet2 with the value of the Name list, each name has 2 values for Type A and Type B. I'd to find the value of Type A and Type B for each Name on Sheet 1. If I use VLOOKUP, I can only find 1 value of Type A. Please help.

Demo sheet

Upvotes: 1

Views: 357

Answers (1)

player0
player0

Reputation: 1

use in B2:

=ARRAYFORMULA(IFNA(VLOOKUP(A2:A&B1:C1, {Sheet2!A:A&Sheet2!C:C, Sheet2!B:B}, 2, 0)))

but rename Type A/B to Type 1/2

enter image description here

Upvotes: 1

Related Questions