Forum Discussion
jaolvera
May 05, 2023Brass Contributor
Highlighting a cell based on cell condition
Hello, I need help with creating a highlighting condition based on dates. I would want colum M (previously positive) to highlight IF the date in cell T (Test 1 date) is within 60 days of each other.
Select cells in column M, from M2 down. M2 should be the active cell in the selection.
On the Home tab of the ribbon, click Conditional Formatting > New Rule...
Select 'Use a formula to determine which cells to format'.
Enter the formula=AND(T2<>"', T2<M2+60)=AND(T2<>"", T2<M2+60)
Click Format...
Activate the Fill tab.
Select a highlight color.
Click OK, then click OK again.