+ Reply to Thread
Results 1 to 7 of 7

Need help with a Conditional Formatting/If...and formula!!!!

  1. #1
    Registered User
    Join Date
    09-22-2016
    Location
    Bensalem, PA
    MS-Off Ver
    Office 365
    Posts
    11

    Need help with a Conditional Formatting/If...and formula!!!!

    I am looking to format an entire row based off two Logical Tests.

    Let's say my spread is A4:P4

    I want to format the entire row to show red text IF N4 is blank AND (today's date-A4 [which will be a date format] > 15)

    I hope someone can help me figure out how to write this formula!! Thank you.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Need help with a Conditional Formatting/If...and formula!!!!

    Select the range A4:P4

    Conditional Formatting
    Use the "Use a formula..." option

    Formula: =AND($N4="",TODAY()-$A4>15)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    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: Need help with a Conditional Formatting/If...and formula!!!!

    Highlight A4:P4. In conditional formatting choose "Use a formula..." and use this formula.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Edit: Should have included those $ as shown in Tony's solution.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Registered User
    Join Date
    09-22-2016
    Location
    Bensalem, PA
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Need help with a Conditional Formatting/If...and formula!!!!

    Thanks! I think I had the right idea in mind, I just was unsure of the syntax.

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Need help with a Conditional Formatting/If...and formula!!!!

    You're welcome. Thanks for the feedback!

  6. #6
    Registered User
    Join Date
    09-22-2016
    Location
    Bensalem, PA
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Need help with a Conditional Formatting/If...and formula!!!!

    Hey! I'm coming back for help on the same formula from September.

    That formula had been based off two logical tests. Now, on the same spreadsheet, I want to add an additional conditional formatting formula two cells over.

    Let's assume the same instance as before.

    This time, I want P4 to show blue text IF P4 is blank AND (today's date-N4 [which will be a date format] > 15) AND N4 is NOT BLANK

    Let me know if you can help with the proper syntax

  7. #7
    Registered User
    Join Date
    09-22-2016
    Location
    Bensalem, PA
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Need help with a Conditional Formatting/If...and formula!!!!

    Thank you to you all for the help - the problem you helped me solve is still in use in a spreadsheet i use at work to track some stuff. Made that task so much easier of these last couple years!

+ 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: 3
    Last Post: 06-19-2015, 07:16 AM
  2. Formatting Cells with Date or Text Values in a Conditional Formatting Formula
    By Phil Hageman in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-15-2014, 09:36 AM
  3. Opening xlsm files with conditional formatting opens with removed conditional formatting
    By Martijn.Steenbakker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 05:38 AM
  4. If Formula - conditional formatting - three different formatting rules
    By sharper1989 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-25-2014, 04:49 PM
  5. Replies: 3
    Last Post: 11-28-2013, 02:11 AM
  6. Replies: 1
    Last Post: 07-19-2012, 05:37 AM
  7. [SOLVED] How do I do a complex conditional in a conditional formatting formula
    By Ray Stevens in forum Excel General
    Replies: 6
    Last Post: 03-12-2006, 06:30 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