+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting and color coding a cell by the day in the week

  1. #1
    Registered User
    Join Date
    08-16-2018
    Location
    Kennewick, WA
    MS-Off Ver
    2016 Pro Plus
    Posts
    5

    Conditional Formatting and color coding a cell by the day in the week

    Hello all,

    I have been searching the forum's and haven't quite found what I am looking for. I am working on an excel spreadsheet and what I am trying to accomplish is based on the current day I want to change the color of a cell, the thing that sets it apart from what most people have asked in the cell I want to change the color in is only text. As in the cell will say Attendance Report Completed. What would be the right conditional code to basically say if the current day is Saturday then make this cell Red for today only and tomorrow when I open the file it will be back to normal color. Is that kind of formula possible? Thanks for any help in advance. Using Excel 2016 Pro Plus.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.85 (24051214))
    Posts
    8,843

    Re: Conditional Formatting and color coding a cell by the day in the week

    a sample file would help
    But you can format the text colour with conditional formatting and various other formatting options
    setup a formula and new rule
    then you can use a formula to test the day of the week
    =WEEKDAY(TODAY(),1)
    1 means count sunday as the first day - so 1
    which means a saturday is 7

    =WEEKDAY(TODAY(),1)=7
    now the cell will change

    excel for OSX is slightly different but this is for windows
    for 2007, 2010 , 2013 or 2016 excel version
    Conditional Formatting

    Highlight applicable range >>

    select range


    Home Tab >> Styles >> Conditional Formatting
    New Rule >> Use a formula to determine which cells to format
    Edit the Rule Description: Format values where this formula is true:


    =WEEKDAY(TODAY(),1)=7


    Format… [Number, Font, Border, Fill]
    choose the format you would like to apply when the condition is true
    OK >> OK
    Last edited by etaf; 08-16-2018 at 04:14 AM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Conditional Formatting and color coding a cell by the day in the week

    With your long day of the week in A1, use this conditional format rule;
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    08-16-2018
    Location
    Kennewick, WA
    MS-Off Ver
    2016 Pro Plus
    Posts
    5

    Re: Conditional Formatting and color coding a cell by the day in the week

    Those worked great! Thank you I appreciate it!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Color Coding Based on Another Cell Content and Copy Conditional Format
    By StopDreaming in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 03-28-2016, 03:50 PM
  2. Replies: 5
    Last Post: 02-06-2015, 03:19 AM
  3. Conditional formatting cell colors for the 7 days of the week
    By damianberry in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-19-2013, 02:51 AM
  4. get the color coding in conditional formatting using VBA code
    By ammupriyaa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-04-2012, 07:13 AM
  5. Replies: 5
    Last Post: 05-10-2012, 10:49 PM
  6. Conditional formatting with color coding dates
    By BlasphemousMusic in forum Excel General
    Replies: 7
    Last Post: 04-06-2011, 01:00 PM

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