Finding TRUE/FALSE w/VLOOKUP @ multiple values

WSBirch

Board Regular
Joined
Apr 10, 2018
Messages
59
Office Version
  1. 365
Platform
  1. Windows
Good afternoon,
Trying to wrap this around my head and it's just not happening.

In the example below, I just want to know in column F if the color BLUE appears at all in the reference # over in column B.
I've realized that VLOOKUPs just stop at the first value it comes across from top-down, so while a VLOOKUP would work for REF# 3 @ cell A7, it does not work for REF# 6 or 7 @ cells A12:A13 or A14:A18.

In column F, I just want to know if REF# in column E has the value "BLUE" appear for that REF# over in column A at all.


dqhNCgO
xt4lSyr.png


All help would be greatly appreciated, thank you!!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
You could try this on sheet-2, update cell references as needed:

Code:
=IF(COUNTIFS(Sheet1!$A$5:$A$18,$A5,Sheet1!$B$5:$B$18,"Blue")>0,"True","False")

There are other ways to do this I'm sure.

Phil
 
Upvote 0
Solution

Forum statistics

Threads
1,215,945
Messages
6,127,851
Members
449,411
Latest member
adunn_23

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top