+ Reply to Thread
Results 1 to 3 of 3

adding red line when column "B" = Saturday

  1. #1
    Registered User
    Join Date
    02-29-2012
    Location
    So Cal
    MS-Off Ver
    Excel 2010
    Posts
    18

    adding red line when column "B" = Saturday

    I can't seem to get the conditional formating to work.

    I want to have Column A through H underlined in red when the contents of Column B = "Saturday".

    Comment: I manually underlined the columns to show what I'm looking for.

    Thanks.

    Bruce

    xls attached
    Attached Files Attached Files

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,885

    Re: adding red line when column "B" = Saturday

    Your Day: column is actually date value that's formatted to show "dddd". Meaning you have to first use Text() to convert it to weekday text.

    As well, you should change your formula reference to something like below.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    See attached.

    Edit: Alternately you can use =Weekday($B5)=7 as well.
    Attached Files Attached Files
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Registered User
    Join Date
    02-29-2012
    Location
    So Cal
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: adding red line when column "B" = Saturday

    CK:

    I knew I had something wrong.

    I applies your suggestions and it works perfectly.

    Thanks for your help.

    Bruce

+ 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. [SOLVED] Adding 2 "Long" dimensions on a line of code.
    By pipoliveira in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-14-2018, 06:40 AM
  2. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  3. Adding a Dynamic "Target Threshold line" to a Pivot table and chart
    By ImokatExcel in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-30-2016, 03:02 PM
  4. [SOLVED] If there is any text in column "A$" on "sheet1" then move cell to column "A$" on "sheet2"
    By ckgeary in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-27-2013, 08:28 PM
  5. Replies: 2
    Last Post: 06-06-2013, 12:45 PM
  6. Replies: 4
    Last Post: 02-03-2008, 05:11 PM
  7. Replies: 11
    Last Post: 09-19-2005, 08:15 AM

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