+ Reply to Thread
Results 1 to 6 of 6

highlight cells in a calendar with conditional formatting

  1. #1
    Registered User
    Join Date
    12-23-2009
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2007
    Posts
    4

    highlight cells in a calendar with conditional formatting

    I have made a calendar for the month with each day in a different cell, using 7 columns of cells for days of the week and 5 rows for weeks of the month... simple. The first column is Sunday, etc. Lets say that represents January.

    In another tab I have a range of cells that I want to put dates on.

    Can I use conditional formatting to highlight each cell if its corresponding date exists in that list of dates?

    I was thinking of applying conditional formatting to the whole month.

    I was thinking about extracting the month and day out of each date and putting them next to the date. Then test if the month = 1, and then if the day matches the corresponding cell in the calendar, highlight it.

    Can all that be done with conditional formatting? And if it can, what would the formula look like? I cant seem to come up with something that works.

    I am attaching a sample spreadsheet. Any help would be greatly appreciated.

    Eddie
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    07-29-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003/Excel 2010
    Posts
    534

    Re: how do you highlight cells in a calendar with conditional formatting

    See if this is what you mean.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    12-23-2009
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: how do you highlight cells in a calendar with conditional formatting

    Thank you WHER. You are the man!

    That is exactly what I needed! I will then add additional rules for each additional month.

    Eddie

  4. #4
    Registered User
    Join Date
    12-23-2009
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: how do you highlight cells in a calendar with conditional formatting

    One last thing.... how do you edit the complete formatting rule? It is a bit lengthy so I have to scroll through it to see it all but when I use the arrows to scroll through it, it places cell positions instead.

    Eddie

  5. #5
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: how do you highlight cells in a calendar with conditional formatting

    Press the F2 key to enter edit mode after clicking into the box.


    Edit: this also applies to entering edit mode for worksheet cells. It's more efficient than double-clicking.
    Last edited by Palmetto; 12-23-2009 at 05:40 PM.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  6. #6
    Registered User
    Join Date
    12-23-2009
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: how do you highlight cells in a calendar with conditional formatting

    Man, you guys are very knowledgeable! Thank you Palmetto!

    You guys are so quick also! Awesome!

    Eddie

+ 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