+ Reply to Thread
Results 1 to 2 of 2

Date Comparison with VLookup

  1. #1
    Registered User
    Join Date
    02-18-2005
    Location
    Midwest
    Posts
    17

    Date Comparison with VLookup

    Hi All,

    I have a vlookup which is looking up sorted dates. Before, or once, it brings the date over, I need to determine if it is <5 days from today. If the date is < 5 days from today's date, it needs to bring the date over, if it is > than 5 days from today's date, need to say Current in the date field.

    My vlookup is below, but now I'm not sure how/where or if I can add the date comparison to this string in some format.

    =IF(ISNA(VLOOKUP($A$3:$A$126,Cons!$C$3:$F$8770,4,FALSE)),"",(VLOOKUP($A$3:$A$126,Cons!$C$3:$F$8770,4,FALSE)))

    Worksheet where date is being returned to looks like:

    Col A Col B Col C

    Queue # of Accts Oldest Date
    5 5 11/29/2005
    16 3141 2/22/2006
    17 618 2/22/2006


    Thanks in advance for any assistance.

  2. #2
    Registered User
    Join Date
    02-18-2005
    Location
    Midwest
    Posts
    17

    Vlookup with If for Date

    Hi All,

    My husband and I were able to figure this out. Thanks for reviewing.

+ 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