+ Reply to Thread
Results 1 to 4 of 4

Conditional Formating of a date range

Hybrid View

  1. #1
    Registered User
    Join Date
    07-24-2012
    Location
    North Brunswick, NJ
    MS-Off Ver
    Excel 2007
    Posts
    2

    Conditional Formating of a date range

    Hi All,

    I need help. What I'm trying to do to is use conditional formatting to highlight the dates from 7/1/12 to 12/31/12. I tried doing an and statement but it didn't work.

    =AND(A2:A34>="7/1/2012",A2:A34<="12/31/2012")

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,043

    Re: Conditional Formating of a date range

    Use single cell in CF and not whole range. And then extend your CF formuls to other cells in range.

    =AND(A2>="7/1/2012",A2<="12/31/2012")

    You might neef to put numbers instead of quotation text if it doesn't work
    Last edited by zbor; 07-26-2012 at 03:37 PM.
    Never use Merged Cells in Excel

  3. #3
    Registered User
    Join Date
    07-24-2012
    Location
    North Brunswick, NJ
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Conditional Formating of a date range

    Thanks for the help.

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Conditional Formating of a date range

    @ dlinares

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

+ 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