+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting

  1. #1
    Registered User
    Join Date
    02-03-2006
    Posts
    2

    Conditional Formatting

    I need to have the font in cell D5 appear in red if the amount in cell A1 is greater than 12 and the amount in cell B1 is greather than 6. Both of these criterias have to be met. So far the best that I can do, is to enter this formula, =$A1>12 but I do not know how to extend the formula to include cell B1

    Daniel

  2. #2
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    =and(a1>12,b1>6)

  3. #3
    Registered User
    Join Date
    02-03-2006
    Posts
    2
    Thanks BigBAs. It works very good. Can I add something at the end of this formula to enter a comment in cell D5 if the criterias are met.

    Daniel

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    You could add this comment to an adjacent cell, but not to Conditional Formatting

    =IF(AND(A1>12,B1>6),"Correct","") if both criteria met "your comment", otherwise "blank"
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

+ 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