+ Reply to Thread
Results 1 to 5 of 5

LOOKUP function using date as value.

  1. #1
    Registered User
    Join Date
    10-03-2007
    Posts
    21

    LOOKUP function using date as value.

    I am creating a summary sheet that references values across several different workbooks. In the summary sheet Col "A" has a several dates in it and Col "C" returns the corresponding value. In example:

    "A126" = 05/01/2010
    "C126" = finds "05/01/2010" in another workbook called "specific 05-10". If it locates "05/01/2010" than it returns the value in Col "C" of that same row. If there is no "05/10/2010" than it returns "0".

    The problem I am having is that Excel wants me to reformat the column containing the dates but the workbooks are downloaded daily by different people and I would the least amount of contact with the workbooks to prevent human error.

    So I guess my question is how do I use the LOOKUP function without reformatting any cells.

    Thank you in advance for your time and energy. I truly appreciate it!

    Joe
    Last edited by Joeg101; 06-07-2010 at 03:08 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: LOOKUP function using date as value.

    Post a workbook sample explaining the issue.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    10-03-2007
    Posts
    21

    Re: LOOKUP function using date as value.

    Attached are the files you requested. Please note that that file named "specific 05-10 TEST" is the target file.

    Thanks again,
    Joe
    Attached Files Attached Files

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: LOOKUP function using date as value.

    So, I used this formula and got expected results...

    =IF(ISNUMBER(MATCH(A2,'specific 05-10 TEST.xlsx'!$A$2:$A$23,0)),VLOOKUP(A2,'specific 05-10 TEST.xlsx'!$A$2:$C$23,3,0),0)

    copied down

    which was the code found in column C or 0 depending on whether the lookup value existed.

    I am not sure what the problem is?

  5. #5
    Registered User
    Join Date
    10-03-2007
    Posts
    21

    Re: LOOKUP function using date as value.

    That works perfectly. Thank you so much!

+ 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