As a develop of formula in E6
1st step : concatenate all list
=F6&G6&H6&I6&J6&K6&L6&M6&N6&O6&P6&Q6&R6&S6&T6&U6&V6&W6&X6&Y6&Z6&AA6&AB6
at this point if you can use TEXTJOIN ( that avilable on Excel2016 and by some add-ins ) your code will be
=TextJoin( "" , True , F6:AB6 )
2nd step : remove 'OFF' away
=SUBSTITUTE(F6&G6&H6&I6&J6&K6&L6&M6&N6&O6&P6&Q6&R6&S6&T6&U6&V6&W6&X6&Y6&Z6&AA6&AB6,"OFF","")
3rd step : reduce connect of SICKSICK.... become one as a new of token ; in this sample I use # ( choose any char that not presented in list )
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(F6&G6&H6&I6&J6&K6&L6&M6&N6&O6&P6&Q6&R6&S6&T6&U6&V6&W6&X6&Y6&Z6&AA6&AB6,"OFF",""),"SICK","#"),"##","#"),"##","#")
You can see I've subtitute it's for 3 times as different [ SICK -> # , ## -> # , ## -> # ] to reduce all SICK to single of #
4th step : count that token (final step)
=LEN(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(F6&G6&H6&I6&J6&K6&L6&M6&N6&O6&P6&Q6&R6&S6&T6&U6&V6&W6&X6&Y6&Z6&AA6&AB6,"OFF",""),"SICK","#"),"##","#"),"##","#"))-
LEN(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(F6&G6&H6&I6&J6&K6&L6&M6&N6&O6&P6&Q6&R6&S6&T6&U6&V6&W6&X6&Y6&Z6&AA6&AB6,"OFF",""),"SICK","#"),"##","#"),"##","#"),"#",""))
Regards.
Bookmarks