Forum Discussion

SeanC3's avatar
SeanC3
Copper Contributor
Aug 11, 2019
Solved

Conditional format cells only that contain a sequence of blanks

Hi all, I need some help trying to nut out a conditional formating formula. I need to only highlight cells that contain 3 or more blanks in sequence in a row (range E2:O2) The desired outcome is to hi...
  • SergeiBaklan's avatar
    SergeiBaklan
    Aug 16, 2019

    SeanC3 

    To count max number of sequential blanks you may use

    =MAX(FREQUENCY(IF(($E2:$O2=""),COLUMN($E2:$O2)),IF($E2:$O2<>"",COLUMN($E2:$O2))))

    see in Column P attached. In general it shall be array formula (Ctrl+Shift+Enter), but I'm on Dynamic Array Excel now and can't test. Column A is highlighted using this formula.

Resources