Conditional Format Index/Match

ldarley

Board Regular
Joined
Apr 10, 2012
Messages
104
Office Version
  1. 2019
  2. 2016
Hi

I am unable to get a conditional format to work correctly using a combination of index/match, I've added in the indirect formula so that I'm able to use my structured table references this gives me:

=INDEX(INDIRECT("Tbl1"),MATCH(A2,INDIRECT("Tbl1[ID No]"),0),8) which works correctly in a cell to return the matched number which just happens to be 19, however what I'm trying to do is put that into a conditional format so that if the index match result is greater than 10 colour the cell.

I've tried combinations of =INDEX(INDIRECT("Tbl1"),MATCH(A2,INDIRECT("Tbl1[ID No]"),0),8)>10 but nothing seems to happen, any advice is welcome :)
 

Some videos you may like

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

jasonb75

Well-known Member
Joined
Dec 30, 2008
Messages
12,464
Office Version
  1. 365
Platform
  1. Windows
If the formula works in a cell then it should work in conditional formatting.
If you enter the second version (with >10 at the end) in a cell does it return TRUE?
 

ldarley

Board Regular
Joined
Apr 10, 2012
Messages
104
Office Version
  1. 2019
  2. 2016
Yes thanks Jason it does come back as true, I've found my error now I had the first part of the match formula as a relative reference not absolute and when I dropped it into the formula bar it was looking in the wrong cell! Doh! Thanks for looking at this for me though.
 

Watch MrExcel Video

Forum statistics

Threads
1,127,611
Messages
5,625,829
Members
416,138
Latest member
Pizzaman22

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