How to Highlight the Entire Column Based on Specific date, Thursday & Friday to be exact, using conditional Formatting.
How to Highlight the Entire Column Based on Specific date, Thursday & Friday to be exact, using conditional Formatting.
Select the column and go to Format|Conditional formatting
Formula Is:
=OR(WEEKDAY(A1)=5,WEEKDAY(A1)=6)
where A1 is topmost cell in selection
Click Format and choose from the Pattern tab.
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Select whole row (or as many cell as you like).
Then in CF use a formula to determine which cells to format
In Format values where this formula si true write desired criteria referencing to one cell:
For example, if your date is in G column use:
=ABS(8-(WEEKDAY(G1, 2)+WEEKDAY(G1, 3)))=1
Thanks guys ... But How to Highlight the Entire Column?
So are these dates in one row, and you want to hightlight th column based on the criteria being met in that row?
is so, then you need to "freeze" the row number in the formulas.
e.g.
=OR(WEEKDAY(A$1)=5,WEEKDAY(A$1)=6)
where Row 1 contains the dates to check, starting at column A.
This will highlight the whole column (based on you having preselected the columns when applying the conditional formatting).
NBVC I appreciate your help it worked, Thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks