+ Reply to Thread
Results 1 to 5 of 5

Highlite the date cells if criteria as week number

  1. #1
    Registered User
    Join Date
    06-18-2011
    Location
    dubai
    MS-Off Ver
    Excel 2007
    Posts
    11

    Highlite the date cells if criteria as week number

    Hi Dears
    I have a table with different dates in cells A2:C500 and D1 is my criteria with week number, how do highlite the date cells if the week number match

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Highlite the date cells if criteria as week number

    Use conditional formatting and create a rule that says

    =WEEKNUM(A2,1)=$D$1

    and apply it to A2:C500

    This assumes that your week starts on Sunday. If not, look up the appropriate value to use for the second argument.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    06-18-2011
    Location
    dubai
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Highlite the date cells if criteria as week number

    Thanks for the support. Column A2:C500 scheduled different dates for staff training. the criteria (week number) will be changed to different weeks, so the dates which is matching with week number should be highlighted, could you please look on this

  4. #4
    Registered User
    Join Date
    06-18-2011
    Location
    dubai
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Highlite the date cells if criteria as week number

    Thanks Jazzar
    I selected Saturday (16) from the list, works fine, thanks lot

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,912

    Re: Highlite the date cells if criteria as week number

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Replies: 5
    Last Post: 04-11-2017, 09:23 AM
  2. [SOLVED] Help to sum number of rows with criteria two different columns + Day of the week from date
    By jedidavidalan in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-03-2015, 01:54 AM
  3. Receiving a date week by week depends on specific number?
    By ExcelBG in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-27-2013, 10:20 AM
  4. Replies: 4
    Last Post: 09-26-2012, 11:21 PM
  5. Replies: 14
    Last Post: 02-15-2012, 10:23 AM
  6. week start date and end date based on week number
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-02-2009, 12:39 PM
  7. [SOLVED] Calculating a Date Based on Year, Week Number and Day of the Week
    By amy in forum Tips and Tutorials
    Replies: 1
    Last Post: 08-23-2005, 11:42 AM

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