+ Reply to Thread
Results 1 to 3 of 3

Date Range Conditional format outside the Cells without data

  1. #1
    Registered User
    Join Date
    06-11-2018
    Location
    India
    MS-Off Ver
    2016
    Posts
    1

    Date Range Conditional format outside the Cells without data

    Hi Everyone!

    I have a problem and it works for a finite set of the date range within the current year but do not when extended to next year.

    I have to apply conditional formatting on cells range(=$H$5:$AE$28) based upon date range in Column F & Column G.

    Conditions:
    Grey color the cells if the dates(row 4:Column H to AE) are less than the date in Column F
    Grey color the cells if the dates (row 4:Column H to AE) are greater than the date in Column F

    it works fine when I apply the format for current year 2018. But then I extend to next year, it fails.

    Please if any one can help me i would be highly oblized. This is an important project to me.

    Thanks
    Abhinav
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Date Range Conditional format outside the Cells without data

    Select the entire range to format

    Conditional Formatting
    New Rule
    Use a formula to determine...

    =AND(H$4>=("01/"&TEXT($F5,"mm/yyyy"))+0,H$4<=EOMONTH($G5,0))

    Format as required
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    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,780

    Re: Date Range Conditional format outside the Cells without data

    Rule 08: Cross-posting Without Telling Us

    Your post does not comply with Rule 8 of our Forum RULES. Do not cross-post your question on multiple forums without telling us about your threads on other forums.

    Post a link to any other forums where you have asked the same question. If you have fewer than 10 posts here, you will not be able to post a link, but you must still tell us where else you have asked the question.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    If you have less than 10 posts, do not try to copy and paste the link. Instead, type the link out in your thread.

    No further help to be offered, please, until the OP has complied with this request.
    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. [SOLVED] Conditional Format Calendar if Date Matches Range of Dates in Other Cells
    By blackburnsexcel in forum Excel General
    Replies: 7
    Last Post: 06-23-2016, 01:18 PM
  2. [SOLVED] Conditional format if date falls in range
    By pauldaddyadams in forum Excel General
    Replies: 3
    Last Post: 12-09-2015, 01:45 PM
  3. Replies: 7
    Last Post: 03-24-2015, 07:44 AM
  4. Conditional Format a range of cells if active cell is not in the range to be formatted.
    By anrichards22 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-07-2013, 05:49 AM
  5. Replies: 1
    Last Post: 09-30-2012, 03:01 PM
  6. Excel 2007 : conditional format based on date range
    By Rob U Blind in forum Excel General
    Replies: 1
    Last Post: 10-21-2011, 09:41 AM
  7. Counting conditional format cells in date range
    By moding blaine in forum Excel General
    Replies: 10
    Last Post: 05-01-2009, 02:51 PM

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