+ Reply to Thread
Results 1 to 5 of 5

Conditional formatting based on text ( week days)

  1. #1
    Registered User
    Join Date
    03-22-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    7

    Question Conditional formatting based on text ( week days)

    Hello Forum,
    I have a problem formatting a table which is a monthly activity tracking.
    I have a line for each day and I would like all lines related to saturdays and sundays to be highlighted in different color.
    I have created 2 rules in the conditional formating menu
    Rule 1 : =B6="saturday"
    Rule 2 : = B6="sunday"
    But for some reason the rule doesnt apply on all the row but just the cells in B column.
    Any one with the solution?
    Attached is my file for reference.
    Thanks in advance
    Best
    GM
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Conditional formatting based on text ( week days)

    In you CF formula replace B6 with $B6

  3. #3
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,289

    Re: Conditional formatting based on text ( week days)

    Or use: =Weekday(c6;2)>5
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  4. #4
    Registered User
    Join Date
    03-22-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Conditional formatting based on text ( week days)

    Thanks a lot...it was indeed a question of $ to be placed at the right place..the weekday is good formula as well :-)

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Conditional formatting based on text ( week days)

    Quote Originally Posted by popipipo View Post
    Or use: =Weekday(c6;2)>5
    In this fashion, it will not work either. In your attachment you used =Weekday($c6;2)>5 which is correct.

+ 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. 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
  2. [SOLVED] Conditional formatting based on days
    By joseph_yap22 in forum Excel General
    Replies: 9
    Last Post: 05-17-2012, 02:38 AM
  3. Conditional Formatting Days of the Week
    By braydon16 in forum Excel General
    Replies: 3
    Last Post: 01-13-2011, 03:43 PM
  4. conditional formatting/days of the week
    By ki_cz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-04-2008, 05:29 AM
  5. [SOLVED] Conditional formatting based on a date + 30 days
    By Laura4363 in forum Excel General
    Replies: 5
    Last Post: 01-13-2006, 07:10 AM

Tags for this Thread

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