Conditional formatting based on values in another table

whitehawk81

Board Regular
Joined
Sep 4, 2016
Messages
52
Hi everyone!

I haven't posted any issues for a while, but this one really got me or I'm just getting older :)
Basically I would like to format the cells based on the result of a lookup value from another table.
I managed to apply the index match formula to return the value, that needs to be evaluated, but when I put it in the conditional formatting, it doesn't find anything.

The formula looks like this: ="INDEX(Table2;MATCH(J4;Table2[Change];0);1)=$X$3"

I also tried it with index/match multiple criteria array formula: ="INDEX(Table[Env];MATCH(1;($I5=Table[Planname])*(K$3=Table[Date]);0))=$X$3"

Could someone help me?
 

Some videos you may like

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
55,412
Office Version
  1. 365
Platform
  1. Windows
You need to remove the "s from around the formula, I suspect that you may need to change the structured references to cell references as well.
 
Last edited:

whitehawk81

Board Regular
Joined
Sep 4, 2016
Messages
52
Thank you! Both of your comments were right :) I managed to format the cells with the array formula.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
55,412
Office Version
  1. 365
Platform
  1. Windows
Glad you sorted it & thanks for the feedback
 

Watch MrExcel Video

Forum statistics

Threads
1,127,342
Messages
5,624,116
Members
416,012
Latest member
rockermom59

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
Top