+ Reply to Thread
Results 1 to 4 of 4

Conditional formatting

Hybrid View

  1. #1
    Registered User
    Join Date
    11-04-2008
    Location
    Derbyshire
    Posts
    2

    Conditional formatting

    I am creating a register and have got a worksheet with everyone name and dates across the top, the dates are automatically created by entering one date, the dates are weekly. But i want to show when we are on holiday, could i do this by using conditional formatting and if yes, how and if no how else can i do this.

    Leeroy1401
    Last edited by NBVC; 11-05-2008 at 11:07 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    You would have to create a list of holiday dates somewhere in the spreadsheet and then name that list something like "Holidays" (without quotes).

    Then your conditional format formula would be something like:

    =Match(A1,Holidays,0)

    where A1 is cell to format.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Hi and welcome to the forum.

    You'll need to first create a list of your holidays, and then name the range "holidays"

    Now use the 'Formula Is' option within the conditional formats. Assuming you have a date in B6, add the following CF to B6 and set the format as necessary.

    =NOT(ISERROR(MATCH(B6,holidays,FALSE)))
    Then just copy B6 and Paste Special Formats to all your other dates.

    HTH

  4. #4
    Registered User
    Join Date
    11-04-2008
    Location
    Derbyshire
    Posts
    2

    Sorted

    Cheers guys i've sorted it.
    Leeroy1401

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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