I have an Excel Sheet that I need to conditionally format so I can tell how close numbers in the cells are to the midpoint of a range. These are the rules:
Blanks = WHITE
Values outside of my desired range (Rows B and C) = RED
Values inside of my desired range will scale with the midpoint = GREEN and the outer points = YELLOW
Format Rules

If I make a separate condition on every row, it is CORRECT and looks like this:
Correct

But that would take an insane amount of time to create rules for every row.
If I make the following formula to try to speed things up, it calculates correctly for the first row and then incorrectly for the remaining rows (only using the numbers from the first row).
3-Color Scale Example:
Minimum =INDIRECT("B"&RIGHT(ADDRESS(ROW(),COLUMN(),4,1),LEN(ROW())))
Midpoint =(INDIRECT("B"&RIGHT(ADDRESS(ROW(),COLUMN(),4,1),LEN(ROW())))+INDIRECT("C"&RIGHT(ADDRESS(ROW(),COLUMN(),4,1),LEN(ROW()))))/2
Maximum =INDIRECT("C"&RIGHT(ADDRESS(ROW(),COLUMN(),4,1),LEN(ROW())))
Incorrect:


=$E$3:$O$56and the other two rows apply only to$E$3:$O$3?