0

Highlighting, via conditional formatting, multiple cells in column G2:Z based on the multiple singular dates in single cells in column C2:C works with =ArrayFormula(OR((SUBSTITUTE(SPLIT($C2, CHAR(10)), ".", "/")*1)=G$1))

But I'm looking for a way to still highlight, via conditional formatting, multiple cells in columns G2:Z but based on single cells in column C2:C that contains date range + singular dates.

sample sheet: https://docs.google.com/spreadsheets/d/1yPUUr24hAwFFcfWKdaknEA3vBmIvDNpscobLbMcHHtU/edit#gid=275757705&range=A1

1 Answer 1

1

In this case should work:

    =ArrayFormula(
    OR(
      (G$1=SUBSTITUTE(SPLIT(TRANSPOSE(SPLIT($C2,CHAR(10)))," - "),".","/")*1)+
      (G$1>=INDEX(SUBSTITUTE(SPLIT(TRANSPOSE(SPLIT($C2,CHAR(10)))," - "),".","/")*1,0,1))*
      (G$1<=IFERROR
          (
           INDEX(SUBSTITUTE(SPLIT(TRANSPOSE(SPLIT($C2,CHAR(10)))," - "),".","/")*1,0,2),
           INDEX(SUBSTITUTE(SPLIT(TRANSPOSE(SPLIT($C2,CHAR(10)))," - "),".","/")*1,0,1))
          )
      )
    )

enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.