+ Reply to Thread
Results 1 to 4 of 4

Conbine formula DATEIF with today's date

  1. #1
    Forum Contributor
    Join Date
    02-20-2011
    Location
    Candada
    MS-Off Ver
    Microsoft Office 365
    Posts
    174

    Conbine formula DATEIF with today's date

    Hi everyone,
    I am trying to modify this formula DATEDIF(C2,D2,"m") so it includes today’s date instead of having a designated. Also, I would like to include in a Conditional Formatting to change the color of the cell to green if the value in B2 is equal or greater than 12. Could someone tell the best approach to this problem? See attachment for detail.
    Thank you very much in advance.
    Attached Files Attached Files
    Last edited by Kimston; 02-25-2012 at 06:29 PM. Reason: solved

  2. #2
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Conbine formula DATEIF with today's date

    you can use the function =DATEDIF(C2,TODAY(),"m") to calculate your dates, as for conditional formating, you can create a new rule and use the "Format only cells that contain" option, then use greater than or equal to, and put in 12
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Conbine formula DATEIF with today's date

    Hi,

    See attached

    Regards
    Attached Files Attached Files
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Contributor
    Join Date
    02-20-2011
    Location
    Candada
    MS-Off Ver
    Microsoft Office 365
    Posts
    174

    Re: Conbine formula DATEIF with today's date

    Thank you very much Richard. It worked perfectly.

+ 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