Good evening,
I am applying a condtional formatting to a range based on an xlookup value and I was wondering if there was a more efficient way of performing this than using an or function.
ie. I would like to from something like:
=OR(XLOOKUP($DD1,$CG$6:$CG$205,$CE$6:$CE$205,"",0,1)=TIMEVALUE("5:15"),XLOOKUP($DD1,$CG$6:$CG$205,$CE$6:$CE$205,"",0,1)=TIMEVALUE("5:00"))
to
=XLOOKUP($DD1,$CG$6:$CG$205,$CE$6:$CE$205,"",0,1)=or(TIMEVALUE("5:15"),TIMEVALUE("5:00"))
I am currently, on looking for 2 values, but if there is more in the future, the more modular format of my target code would make it easier to adapt.
I am applying a condtional formatting to a range based on an xlookup value and I was wondering if there was a more efficient way of performing this than using an or function.
ie. I would like to from something like:
=OR(XLOOKUP($DD1,$CG$6:$CG$205,$CE$6:$CE$205,"",0,1)=TIMEVALUE("5:15"),XLOOKUP($DD1,$CG$6:$CG$205,$CE$6:$CE$205,"",0,1)=TIMEVALUE("5:00"))
to
=XLOOKUP($DD1,$CG$6:$CG$205,$CE$6:$CE$205,"",0,1)=or(TIMEVALUE("5:15"),TIMEVALUE("5:00"))
I am currently, on looking for 2 values, but if there is more in the future, the more modular format of my target code would make it easier to adapt.