Article 5A1EF Libre Calc / Excel - conditional formatting: WEEKDAY()

Libre Calc / Excel - conditional formatting: WEEKDAY()

by
czezz
from LinuxQuestions.org on (#5A1EF)
Hi,
As you can see in the attachment I created calendar in row 2.
With conditional formatting, I have highlighted all weekends with orange color :
Code:=OR(WEEKDAY(D2)=1;WEEKDAY(D2)=7)I would like to add now another condition:
whenever there is =OR(WEEKDAY(D2)=1;WEEKDAY(D2)=7) - it stands for: Saturada and Sunday - highlight whole column (or at least 10 rows of that specific column).
You can better see an example on columns: I,J in attached screenshot.
Does anyone know how to do that?

What I have came up for now, is the following condition but this is just static and does not refer to WEEKDAY()
Code:=MOD(COLUMN();7)=1
Attached Thumbnailsattachment.php?attachmentid=34502&stc=1& latest?d=yIl2AUoC8zA latest?i=MeNUPdpnx-I:F0oZgtpeDzk:F7zBnMy latest?i=MeNUPdpnx-I:F0oZgtpeDzk:V_sGLiP latest?d=qj6IDK7rITs latest?i=MeNUPdpnx-I:F0oZgtpeDzk:gIN9vFwMeNUPdpnx-I
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments