+ Reply to Thread
Results 1 to 7 of 7

Comparison of date and time

Hybrid View

  1. #1
    Registered User
    Join Date
    11-15-2012
    Location
    Bangalore
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Comparison of date and time

    Formula: copy to clipboard
    =IF((DATE(YEAR(M2),MONTH(M2),DAY(M2)))<(DATE(YEAR(P2),MONTH(P2),DAY(P2))),"No",IF(AND(DATE(YEAR(M2),MONTH(M2),DAY(M2))=(DATE(YEAR(P2),MONTH(P2),DAY(P2))),(N2)<(TIME(HOUR(P2),MINUTE(P2),SECOND(P2)))),"No","Yes"))

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Comparison of date and time

    Have you got the result or not?


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

+ 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