Forum Discussion

Jones_m_brandon's avatar
Jones_m_brandon
Copper Contributor
May 22, 2024
Solved

Color dates if more than 1 occurrence of some numbers in a column

I require help with this formula. I want Excel to highlight row 8 in red if cells C9 through C16 have more than one occurrence of numbers 1, 2, 3, or 5 input (refer to the color chart in the atta...
  • Lorenzo's avatar
    Lorenzo
    May 23, 2024

    Jones_m_brandon 

     

    Missed/forgot something in my previous post (will delete it...) - Sorry:

     

    Conditional Formatting rule that applies to $D$7:$L$7 with the above setup:

    =SUM(COUNTIF(D$9:D$16,Arr_DaysOff)) > 1

    where Arr_DaysOff is a defined name (in Name Manager) with:

    ={1,2,3,5}

     

Resources