Conditional Format Index Result Location

Tifne

New Member
Joined
Mar 17, 2021
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
I can't get the conditional formatting to work even though the index formula works in a cell.

Here is my formula: =CELL("address",INDEX(Months,MATCH(B3,$B$3:$B$53,0),MATCH(VLOOKUP(B3,data!$C$2:$D$52,2,0),$C$1:$AS$1,0)))
I copied this formula into the CF from cell C3 and applied it to my range, months.
1616008327698.png


1616008312625.png

In one of my many attempts, I got several cells to turn green, however they were before the start date and not on every row. I deleted it, so I don't know how I got that even to work incorrectly.

1616009061096.png


I'd like each starting cell (O3 for row 1) to be highlighted, as well as the corresponding location of the index formula result for each row of my range. I didn't find an acceptable way to make the cell reference relative. Is this the problem?
I am hoping to do the entire calculation in the CF rather than use a step by step approach such as I have now in column A (illustration purposes).

Thank you for your time,
Tifne
 

Attachments

  • 1616006208101.png
    1616006208101.png
    10 KB · Views: 3
  • 1616007821811.png
    1616007821811.png
    18.6 KB · Views: 3
  • 1616008981636.png
    1616008981636.png
    63.1 KB · Views: 3
  • 1616009027686.png
    1616009027686.png
    80.8 KB · Views: 2

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

jasonb75

Well-known Member
Joined
Dec 30, 2008
Messages
12,644
Office Version
  1. 365
Platform
  1. Windows
It's not clear from your post exactly what the criteria is to highlight the cells.

Your formula is not working because it is looking at the cell address, not the cell value. If you type $O$3 into C3 then it will work because that is what it is being told to expect in that cell.
At the moment, C3 appears to have a zero value formatted as a dash so will only highlight if the conditional formatting rule is expecting 0 in the cell.
 

Watch MrExcel Video

Forum statistics

Threads
1,129,927
Messages
5,639,036
Members
417,065
Latest member
ALONSO_1150

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