+ Reply to Thread
Results 1 to 6 of 6

Conditional formatting depending on the day of the week

  1. #1
    Registered User
    Join Date
    10-16-2018
    Location
    Tel Avid, Israel
    MS-Off Ver
    2016
    Posts
    9

    Conditional formatting depending on the day of the week

    Hi All,

    I have a table in Excel, contains 7 columns, one column for each day of the week like a timetable:
    saturday, sunday, mondey etc' (but in hebrew).

    I want each column, or at least the title of each column, to be colored while the day it is written is the current day, and so cyclically every week. It is possible?

    Thanks in advanced and good weekend.

  2. #2
    Registered User
    Join Date
    05-23-2020
    Location
    Tanzania
    MS-Off Ver
    Office 365 Home Edition
    Posts
    6

    Re: Conditional formatting depending on the day of the week

    Hi, E-Dan

    Try the one that I've attached. I hope it would help with your matter.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    10-16-2018
    Location
    Tel Avid, Israel
    MS-Off Ver
    2016
    Posts
    9

    Re: Conditional formatting depending on the day of the week

    Thank you so much for the effort, bkod.

    But my idea was that the day column would automatically color when that day arrived (according to the computer or server calendar, etc.), as long as it is the current day (as can be done with dates).

    As the day ends at midnight, the next day's column will automatically be colored. is this possible?

    Thanks again.

  4. #4
    Valued Forum Contributor
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    589

    Re: Conditional formatting depending on the day of the week

    How about using this formula in the conditional formatting (your days of the week start in cell A4 and go to cell G4):
    =TEXT(TODAY(),"dddd")=A4
    See attached.
    Attached Files Attached Files
    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Office 365 (Win 10 - Work) & Office 365 Subscription Insider (Win 10 - Home)
    Posts
    37,679

    Re: Conditional formatting depending on the day of the week

    @Bkod

    Sorry for off-topic interjection:

    Although there is no official rule regarding this behaviour, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

    I'm sure you understand, and we look forward to seeing you post your formulas/macros in your posts for the searching benefit of all.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  6. #6
    Registered User
    Join Date
    10-16-2018
    Location
    Tel Avid, Israel
    MS-Off Ver
    2016
    Posts
    9

    Re: Conditional formatting depending on the day of the week

    Gregb11 & bkod, thank very much, both. it works and it's ingenious.
    can't understand how you remember such formulas in mind.

    I agree that an example is worth a thousand words, I tried to attach an example but ror some reason I was unsuccessful (I'm pretty new as you see).

    Thanks alot and have a good week.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1