Formulation
New Member
- Joined
- Aug 26, 2016
- Messages
- 25
I want find out if B2 in Sheet1 exists in column B or C in Sheet2.
If B2 exists in either column B or C in Sheet2, I would like to display Yes or True.
If B2 does not exist column B or C in Sheet2, I would like to display No or False.
For example:
Sheet1
<tbody>
</tbody>
Sheet2 below
<tbody>
</tbody>
Looking up to see if a value exists in one column on Sheet2 works fine... I'm just having trouble figuring out how to see if the value exists in multiple columns.
- I was using formula =VLOOKUP(B2,'Sheet2'!$B:$B,1, FALSE) in C1 of Sheet1. Which works for one column... how can I get it to work with multiple columns?
If B2 exists in either column B or C in Sheet2, I would like to display Yes or True.
If B2 does not exist column B or C in Sheet2, I would like to display No or False.
For example:
Sheet1
A | B | C (Does value exist in table arrays) | |
1 | Bob | CL30N | Formula |
2 | Bob | VA21 | Formula |
3 | Bob | VA23 | Formula |
<tbody>
</tbody>
Sheet2 below
A | B (range/table array 1) | C (range/table array 2) | |
1 | Bob | CL30N | R1 |
2 | Bob | R5 | R6 |
3 | Bob | D3 | VA23 |
<tbody>
</tbody>
Looking up to see if a value exists in one column on Sheet2 works fine... I'm just having trouble figuring out how to see if the value exists in multiple columns.
- I was using formula =VLOOKUP(B2,'Sheet2'!$B:$B,1, FALSE) in C1 of Sheet1. Which works for one column... how can I get it to work with multiple columns?