VLOOKUP with colour criteria

Unlucky-Phase

New Member
Joined
Sep 23, 2019
Messages
14
Hi there,

I'm trying to do a vlookup with colour critera. So i have a specific word say "ball", which has a fill green, but in my grid, the word "ball" exists with an red fill, and each of these have different values associated.
Essentially, I was to fill the value of my cell, by picking "ball" then green fill, to then find the value associated with it in my table. The only way I can think is just a bunch of if and elseifs for the criteria.

Any help?

Thanks
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hi Unlucky-Phase,

You can't use VLOOKUP to find a color without resorting to VBA. If you can set the fill using Conditional Format then you can use the same logic in a VLOOKUP to find the first occurrence of the cell.

It would be easiest if you provide an XL2BB of your sheet with a worked example.
 
Upvote 0

Forum statistics

Threads
1,214,956
Messages
6,122,465
Members
449,085
Latest member
ExcelError

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