Conditional formatting using VLOOKUP

tamdunk

New Member
Joined
Feb 9, 2018
Messages
8
Hi, I'm trying to set up conditional formatting where it's highlighted if someone has reached a certain number of checks in a column from another worksheet. I want it to check every row of column A and apply formatting if there has been more than 5 checks.

Sheet1
Column A is the users ID
Column F is where I want the conditional formatting to apply

Sheet 2
Column A is the users ID
Column H is the number of checks the user has had.

In the rule description for the conditional formatting I have used
=VLOOKUP(A:A, Sheet2!A2:H388, 8, FALSE) > 5

But it's not working. Does anyone know where I am going wrong?
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
The lookup_value of vlookup can not be an array
Code:
=VLOOKUP([COLOR=#FF0000]A:A[/COLOR], Sheet2!A2:H388, 8, FALSE) > 5

Select the cells in F that you want to conditional format and use this formula. Since the lookup value of A2 is a relative reference it will change as CF moved to the next row to A3 then A4....
Code:
=VLOOKUP(A2,Sheet2!$A$2:$H$388,8,0)>5
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,164
Members
453,021
Latest member
Justyna P

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