Conditional Formatting with VLOOKUP
Posted on 2014-08-22
I am using VLookup to pull values in from one Excel tab to another. I want to make the cell change color if the user manually types in a value to replace the VLOOKUP value. So, for example, if the user goes into Cell B2 on the tab with the VLOOKUP value of "Joe" and types in "Jack" instead, I want the cell to change color so the user can see what they have changed.
I've tried this as a conditional formatting test: ="VLOOKUP(A2,SEG_D1!A:B,2,FALSE)<>B2"
The first part yields the original value and is the formula in Cell B2. If the user types over this value and puts something else in there than what the VLOOKUP yields, I want the cell to change color. Looks to me like the above would apply the test between what the VLOOKUP is yielding and what is actually in Cell B2. But when I change the value in B2 manually, it doesn't change color.
Any suggestions appreciated.