+ Reply to Thread
Results 1 to 9 of 9

Conditional format if value entered without dates

  1. #1
    Forum Contributor
    Join Date
    10-11-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    230

    Conditional format if value entered without dates

    I have a start date and an end date field. Next I have the months of a year. I need a conditional format formula that says if there is no start date and or no end date but there is a number in one of the months, then that cell should be highlighted.

    The formula I wrote is =AND(OR($AM17="",$AN17=""),AZ17<>””) but it's not working.

    Thanks

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Conditional format if value entered without dates

    How is the start/end date entered in the cell - manually or by formula?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    10-11-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    230

    Re: Conditional format if value entered without dates

    The dates would be manually entered. Then hours would be entered by month. I want to highlight any cell that contains hours if a start date and/or an end date is missing.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Conditional format if value entered without dates

    You made no mention of Hours in your 1st post?

    Could you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like (see yellow banner above).

  5. #5
    Forum Contributor
    Join Date
    10-11-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    230

    Re: Conditional format if value entered without dates

    Sorry, I wrote" but there is a number in one of the months...
    I'll create a dummy file and get it uploaded. I can't share the actual file.

  6. #6
    Forum Contributor
    Join Date
    10-11-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    230

    Re: Conditional format if value entered without dates

    Not sure if the attachment will come through.
    Attached Files Attached Files

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Conditional format if value entered without dates

    Thanks, will take a look

  8. #8
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: Conditional format if value entered without dates

    With this:
    =AND(OR($AM17="",$AN17=""),AZ17<>””)
    try to replace with:
    =AND(OR($AM17="",$AN17=""),AZ17<>"")
    then it works for me.
    Quang PT

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Conditional format if value entered without dates

    aahh I see the difference now. I retyped the formula and it worked, but couldnt see why OP's version wasnt working. Didnt notice the Word ""...Thanks Quang

+ 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 Formatting cells based on dates entered
    By Aquarock in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-29-2013, 12:54 AM
  2. Replies: 1
    Last Post: 06-04-2012, 04:19 PM
  3. Conditional Format only if more than two values are entered
    By purdue7997 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-12-2010, 07:38 PM
  4. Replies: 0
    Last Post: 05-25-2009, 06:58 PM
  5. Conditional format - value entered over a formula
    By Wheres_the_Red in forum Excel General
    Replies: 5
    Last Post: 03-10-2007, 09:06 AM
  6. [SOLVED] how to change format of several dates entered in an Excel column
    By ilyaz in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-01-2006, 12:38 AM
  7. Replies: 1
    Last Post: 04-12-2006, 12:50 PM
  8. Cell Format Changes When Data Is Entered - Not Conditional Formatt
    By SundanceKidLudwig in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-30-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