+ Reply to Thread
Results 1 to 10 of 10

How to get "some specific dates" highlighted in excel columns with conditional formatting?

  1. #1
    Forum Contributor
    Join Date
    12-06-2013
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2016
    Posts
    613

    Exclamation How to get "some specific dates" highlighted in excel columns with conditional formatting?

    Hi...

    Can somebody help me get "some specific holidays" highlighted by doing conditional formatting in series of "date columns"?? I got to know how to get "sunday" highlighted...but again problem with specific holidays...

  2. #2
    Valued Forum Contributor Miroslav R.'s Avatar
    Join Date
    05-16-2013
    Location
    NMnV, Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    479

    Re: How to get "some specific dates" highlighted in excel columns with conditional formatt

    Hi there,
    You can use formula to determine cells for conditional formating. My original dates are in column A.
    For Sunday:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that 'A1' is not fixed with $ sign. Maybe You have to change "Sunday" to You local language settings.

    For holidays, You have to create holiday dates list. Mine is a named range called 'Holiday' and original dates are also in column A.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Hope it helps
    Regards
    Miroslav R.

    (If You like my solutions, feel free to add reputation.)

  3. #3
    Forum Contributor
    Join Date
    12-06-2013
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2016
    Posts
    613

    Re: How to get "some specific dates" highlighted in excel columns with conditional formatt

    Hi...

    I was referring not about "sundays", I know how to do conditonal formatting to get sundays highlighted.

    What I need is to get highlighted "special holidays" in a series of dates in cloumns. The specific holidays can be included in another column for formula reference...

  4. #4
    Valued Forum Contributor Miroslav R.'s Avatar
    Join Date
    05-16-2013
    Location
    NMnV, Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    479

    Re: How to get "some specific dates" highlighted in excel columns with conditional formatt

    Hi there,

    so on one side, You have dates in some columns and on second side You have special holidays dates somewhere in Your workbook.

    For this case You can use formula for holidays mentioned in my 1st post.

    If I misunderstood You again, pls upload Your sample workbook.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: How to get "some specific dates" highlighted in excel columns with conditional formatt

    Miroslav, it may be that the OP didn't pick up on the use of a named range in your reply.

    Anuru, see the conditioanl formating rule in this sheet.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  6. #6
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: How to get "some specific dates" highlighted in excel columns with conditional formatt

    Quote Originally Posted by Glenn Kennedy View Post
    Miroslav, it may be that the OP didn't pick up on the use of a named range in your reply.

    Anuru, see the conditioanl formating rule in this sheet.
    Anuru,

    I'm linking your related post here... How to get only "Sunday" highlighted in a series of dates in "cloumns"

    Please find enclosed the extended version of Glenn's workbook taking care to both conditions (Sundays and Holidays) combined.

    Considering list of dates are in column A and the list of holidays in column E, the formula used for conditional formatting is
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Note : Please avoid starting multiple threads for the same requirement in future.
    If my assistance has helped, there is a reputation icon * on the left hand corner below the post - you can show your appreciation to the user who has helped in resolving your requirement.

    If your requirement has been solved please mark your thread as Solved.
    In the menu bar above the very first post, select Thread Tools, then select "Mark this thread as Solved".

    Kindly use [FORMULA] or [CODE] tags when posting your code.

    Regards,
    Sarang

  7. #7
    Forum Contributor
    Join Date
    12-06-2013
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2016
    Posts
    613

    Re: How to get "some specific dates" highlighted in excel columns with conditional formatt

    Hi,

    Please kindly see the attached excel document for your reference. The holidays are written at the bottom of the work sheet. What I need is to "show these holidays highlighted with a different colour(say yellow), in the same row (row 2), using a conditional formula. Also, note that "sunday" is already been formatted with a conditional formula...
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    12-06-2013
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2016
    Posts
    613

    Re: How to get "some specific dates" highlighted in excel columns with conditional formatt

    Hi,

    Sorry the previous attachement is not the complete one, here with attached the correct one(NewTeam01)
    Quote Originally Posted by Anuru View Post
    Hi,

    Please kindly see the attached excel document for your reference. The holidays are written at the bottom of the work sheet. What I need is to "show these holidays highlighted with a different colour(say yellow), in the same row (row 2), using a conditional formula. Also, note that "sunday" is already been formatted with a conditional formula...
    Attached Files Attached Files

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: How to get "some specific dates" highlighted in excel columns with conditional formatt

    Hopefully this is what you need. If so, please take the time to mark the thread as closed & consider saying "Thanks" by clicking the button to the left of the ADD REPUTATION symbol at the foot of their posts.
    Attached Files Attached Files

  10. #10
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: How to get "some specific dates" highlighted in excel columns with conditional formatt

    Glenn's solution works good and you have given different coding thru conditional formatting for Sundays and other holidays separately. My formula (in post #6) would also work good but will give you same color coding (not different colors for Sundays and other holidays). The formula needs to be changed as per your worksheet ranges as
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Note : Your worksheet design looks good for whatever you are trying to design as you have used a lot of colors and conditional formats. My advise to you is such a flashy design with colors / formatting cannot be easily reused in future. You (or someone else) would need to do a lot a rework along with the new functionality that needs to be incorporated. Also, debugging and tracking the error (in case) if some conditional formatting goes wrong (due to some changes in the worksheet ranges as and when you / others start tracking data in this worksheet) would be difficult. If in case users do some cut & paste or copy & paste the conditional formats would not work.

+ 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. How to get only "Sunday" highlighted in a series of dates in "cloumns"
    By Anuru in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-20-2014, 02:56 AM
  2. Replies: 2
    Last Post: 08-17-2012, 05:10 AM
  3. "Conditional Formatting" on dates
    By short fat bald in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 09-21-2011, 12:55 AM
  4. [SOLVED] Conditional Formatting, Dates, and "Fill Column"
    By cht13er@gmail.com in forum Excel General
    Replies: 2
    Last Post: 11-23-2005, 03:50 PM
  5. [SOLVED] excel should "paste special" a "conditional formatting"
    By lozturk21 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-23-2005, 10:05 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