+ Reply to Thread
Results 1 to 5 of 5

Conditional formatting using weekday

  1. #1
    violasrbest
    Guest

    Conditional formatting using weekday

    Hi

    I want to shade a cell if the date shown is not a weekday. I know I need to
    use conditional formatting, but I can't work out what formula to use.

    Thanks

  2. #2
    violasrbest
    Guest

    RE: Conditional formatting using weekday

    It's OK, I've sorted it now.

    "violasrbest" wrote:

    > Hi
    >
    > I want to shade a cell if the date shown is not a weekday. I know I need to
    > use conditional formatting, but I can't work out what formula to use.
    >
    > Thanks


  3. #3
    David
    Guest

    Re: Conditional formatting using weekday

    =?Utf-8?B?dmlvbGFzcmJlc3Q=?= wrote

    > I want to shade a cell if the date shown is not a weekday. I know I
    > need to use conditional formatting, but I can't work out what formula
    > to use.


    You say "the date", but if you have a column or row of dates, select them
    all and apply Formula Is:

    If column A
    =WEEKDAY($A1,2)>=6
    If row 1
    =WEEKDAY(A$1,2)>=6

    Choose desired format

    --
    David

  4. #4
    David McRitchie
    Guest

    Re: Conditional formatting using weekday

    Hi David (Turner),
    Glad you posted the solution, even though you would not
    have had time to see that the original poster found
    his own solution.

    It seems to me that someone who asks a question, and then
    says "never mind, I found the answer" is simply not sharing.
    Someone might see the thread, and think I need that answer or
    more likely find the thread in Google and want to know the answer and
    it would not be there had you not answered. In fact that is one
    of the points mentioned in Hints for New Posters
    http://www.cpearson.com/excel/newposte.htm
    ---
    HTH,
    David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
    My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
    Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

    "David" <dturner4_1999@yahoo.com> wrote in message news:OHUbDIVUFHA.2472@TK2MSFTNGP10.phx.gbl...
    > =?Utf-8?B?dmlvbGFzcmJlc3Q=?= wrote
    >
    > > I want to shade a cell if the date shown is not a weekday. I know I
    > > need to use conditional formatting, but I can't work out what formula
    > > to use.

    >
    > You say "the date", but if you have a column or row of dates, select them
    > all and apply Formula Is:
    >
    > If column A
    > =WEEKDAY($A1,2)>=6
    > If row 1
    > =WEEKDAY(A$1,2)>=6
    >
    > Choose desired format
    >
    > --
    > David




  5. #5
    David
    Guest

    Re: Conditional formatting using weekday

    David McRitchie wrote

    > Hi David (Turner),
    > Glad you posted the solution, even though you would not
    > have had time to see that the original poster found
    > his own solution.
    >
    > It seems to me that someone who asks a question, and then
    > says "never mind, I found the answer" is simply not sharing.
    > Someone might see the thread, and think I need that answer or
    > more likely find the thread in Google and want to know the answer and
    > it would not be there had you not answered.


    You've described precisely how and why *I* read newsgroups when not seeking
    specific answers for my own projects.

    Thanks for the feedback.

    --
    David

+ 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