+ Reply to Thread
Results 1 to 3 of 3

Two variables and fuzzy date logic in a lookup

  1. #1
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    666

    Two variables and fuzzy date logic in a lookup

    Dear Geniuses,

    I need your help. For purposes of this question, I've attached a workbook with multiple tabs (and, with text box notes to clarify the issue). Only the first three tabs of the sheet would be used to answer this question, but the remaining tabs are there because of some interdependent formulas.

    I need to look up data in tabs #2 and #3 based on two variables in tab#1

    In the example, I need to obtain the data in tabs 2 and 3 based on:

    (a) an account number (B2 in tab 1)
    (b) a date (C2 in tab 1).

    The date matching needs to use "fuzzy logic" so that as long as both dates are the same, the time doesn't matter. This is because when the end user wants to find information (for example) on June 30th 2012, the matching will work even if the closest time stamp is something like June 30th, 2012 1:48:06.

    The worksheet is disposable so feel free to use it. Thanks!
    Attached Files Attached Files
    Last edited by jrtaylor; 06-25-2012 at 11:13 AM. Reason: solved

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,953

    Re: Two variables and fuzzy date logic in a lookup

    D2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    E2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    666

    Thumbs up Re: Two variables and fuzzy date logic in a lookup

    Ben, perfect! Thanks so much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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