Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Spreadsheets (https://www.askmehelpdesk.com/forumdisplay.php?f=395)
-   -   Conditional Formatting formula is (https://www.askmehelpdesk.com/showthread.php?t=480531)

  • Jun 17, 2010, 12:52 PM
    luissotoii
    Conditional Formatting formula is
    I need Conditional Formatting to only highlight dates that exceed 50 years of age. Currently I have =((TODAY()-D4)/365<50). It seems to work on some but not all, any suggestions.
  • Jun 17, 2010, 02:47 PM
    JBeaucaire

    How about this:

    =DATEDIF(D4,TODAY(),"y")>=50
  • Jun 18, 2010, 04:44 AM
    luissotoii

    I normally use the Cell Value Is where I am able to copy and special paste to all 2000 rows. I can not copy and special paste using the Formula Is.
  • Jun 18, 2010, 09:03 AM
    luissotoii

    I know I may copy and special paste from CELL IS in CONDITIONAL FORMATTING to the remaining 2000 rows. May I copy and special paste from FORMULA IS to the remaining 2000 rows?
  • Jun 18, 2010, 10:35 AM
    JBeaucaire

    If the formula given above is working properly for the cell in which it is inserted, it will adjust itself properly for each cell you copy it into. The cell reference D4 is relative so should have no problems adjusting for all 2000 rows.

    If the formula is being added to MULTIPLE cells on the same row but they all need to watch column D, make that cell reference $D4
  • Jun 18, 2010, 11:10 AM
    luissotoii

    The formula is acting as chaotic as the formula I had initially. It does show that the formula is moving chronological, but some cells that should be highlighted are not and vice versa. I assumed I was applying it wrong. I can go individually but I don't want that to happen.
  • Jun 18, 2010, 12:44 PM
    JBeaucaire

    Feel free to post a wb we can look at together. This stuff should be easy, and chaos usually comes from something unexplained going on the wb.
  • Jun 18, 2010, 01:20 PM
    luissotoii

    Its emailed. You just reply and I'll review it Monday.
  • Jun 18, 2010, 01:40 PM
    JBeaucaire

    I don't see any attempts at conditional formatting, the point of a sample sheet is to see examples of a few rows of data and what your desired results should be.
  • Jun 21, 2010, 05:51 AM
    luissotoii

    My apologies, I have forwarded you a new chart.
  • Jun 21, 2010, 08:06 AM
    JBeaucaire

    You don't need two CF formulas as far as I can see, you should only need 1.

    In F2 use this CF formula:

    Formula Is: =AND(F2>=75,DATEDIF(A2,TODAY(),"y")>=50)


    Then copy that cell downward.

    NOTE: I suggested the DATEDIF() thing back in post #2.

  • All times are GMT -7. The time now is 05:33 AM.