+ Reply to Thread
Results 1 to 3 of 3

Compare dates from strings and then find first date greater than a date

  1. #1
    Forum Contributor
    Join Date
    12-25-2011
    Location
    Lahore, Punjab, Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    287

    Compare dates from strings and then find first date greater than a date

    Hi

    I have data like following cells in column A.

    23 Jan 18 13:15:31 CLEAR - Item: 0000000106837 Qty: 1 591ML VIT WT
    23 Jan 18 13:15:31 CLEAR - Item: 0000000051270 Qty: 1 ENVIRONMENTA
    23 Jan 18 13:19:00 Underpumped prepay - prepaid $43.29,pumped $35.00
    23 Jan 18 13:20:24 TAG 9B (TSI) CR=5: b1=68, b2=0
    23 Jan 18 13:24:09 TAG 9B (TSI) CR=6: b1=e8, b2=0
    23 Jan 18 13:24:50 Minimum age of 19 verified
    23 Jan 18 13:27:02 TAG 9B (TSI) CR=3: b1=e8, b2=0
    23 Jan 18 13:27:47 TAG 9B (TSI) CR=8: b1=e8, b2=0

    I want to search first cell after 23 Jan 18 13:20:00 using vba. Result should be the one highlighted.

    Thanks for help

  2. #2
    Valued Forum Contributor
    Join Date
    12-22-2015
    Location
    HK
    MS-Off Ver
    2010
    Posts
    532

    Re: Compare dates from strings and then find first date greater than a date

    try this:
    Please Login or Register  to view this content.

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: Compare dates from strings and then find first date greater than a date

    Try
    Please Login or Register  to view this content.

+ 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. To compare & find out the nearest date in the range with a common date
    By rkulasekaran in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-04-2015, 08:08 AM
  2. Replies: 5
    Last Post: 01-16-2014, 11:51 AM
  3. [SOLVED] Compare strings for match in separate worksheet and return nearest future date
    By kungfood in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-05-2012, 05:19 PM
  4. Counting all the dates greater than a certain date
    By swampedindata in forum Tips and Tutorials
    Replies: 3
    Last Post: 02-16-2012, 05:50 PM
  5. Replies: 6
    Last Post: 12-12-2011, 09:07 PM
  6. Compare Dates to see if date 1 occurs before or after date 2
    By ashton in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-12-2009, 08:59 AM
  7. Compare Dates To Date Range & Return Date Based On Outcome
    By gusmontoya in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-03-2008, 09:06 PM

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