+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : Conditional formatting-How to do it?

  1. #1
    Registered User
    Join Date
    12-12-2009
    Location
    Islamabad, Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    4

    Conditional formatting-How to do it?

    Hi Sir,
    I need help to accomplish b/m conditional formatting...
    In my sheet, I've highlighted weekdays in a cell range (c7:ag7). I want to fill all the cells which appear below Sunday header with a specific color. How to do it? Need a quick reply

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Help with conditional formatting required...

    Hi,

    the function =Weekday(date) returns a number from 1 (Sunday) to 7 (Saturda) (-- These are the formula defaults. There is a parameter return_type, too, to change the number/Weekday assignment). You can use this function in conditional formatting. Create a new rule with "Use a formula to determine ..." and set the formula to be

    =WEEKDAY(C$7)=1

    If you need more help with this, post a small data sample that illustrates your data layout.

+ 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