Conditional Format Index Result Location

Tifne

New Member
Joined
Mar 17, 2021
Messages
2
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: 6
  • 1616007821811.png
    1616007821811.png
    18.6 KB · Views: 6
  • 1616008981636.png
    1616008981636.png
    63.1 KB · Views: 7
  • 1616009027686.png
    1616009027686.png
    80.8 KB · Views: 5

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.
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.
 
Upvote 0

Forum statistics

Threads
1,212,927
Messages
6,110,727
Members
448,294
Latest member
jmjmjmjmjmjm

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