Forum Discussion
Conditional formatting for an Array
- Jun 30, 2025
When doing conditional formatting on an array (the array is defined in the Applies to range) you set the equation based on the upper left corner of the Applies to range and Excel will use the relative / absolute definitions in the equation to either increment or not each reference. So in your case it is simply:
Formula: = J3=O3
As Excel increments through the Applies to range of J3:L5 that equation will also increment the corresponding rows and columns.
a common example of this is pretend the Date is in column A and you want to highlight all ROWS with a Date that has passed so the Applies to range might be A1:Z100 and the equation would be:
=$A1<TODAY()
so on every row every cell will check the date in column A because of the $ but as excel goes down the rows it will increment the row (because there is no $) so each row will get highlighted based on the date in column A.
Hope that helps
When doing conditional formatting on an array (the array is defined in the Applies to range) you set the equation based on the upper left corner of the Applies to range and Excel will use the relative / absolute definitions in the equation to either increment or not each reference. So in your case it is simply:
Formula: = J3=O3
As Excel increments through the Applies to range of J3:L5 that equation will also increment the corresponding rows and columns.
a common example of this is pretend the Date is in column A and you want to highlight all ROWS with a Date that has passed so the Applies to range might be A1:Z100 and the equation would be:
=$A1<TODAY()
so on every row every cell will check the date in column A because of the $ but as excel goes down the rows it will increment the row (because there is no $) so each row will get highlighted based on the date in column A.
Hope that helps
- anupambit1797Jun 30, 2025Iron Contributor
Thanks m_tarler​ for the concept.. Excel surprises me everyday... !