+ Reply to Thread
Results 1 to 4 of 4

lookup and get data function

  1. #1
    Registered User
    Join Date
    06-07-2007
    Posts
    3

    lookup and get data function

    Hi,

    I done my research on v and h lookup and index and match and none seem to do what I want. I have 2 Sheet.

    Sheet one has a unique ID and a row of functions which check sheet2:

    A B
    1 Unique ID "function I want to create"
    2 Unique ID2 "function I want to create"

    Sheet 2 has dates descending from A down and in B C D E etc. we could have one of those Unique IDs so:
    A B C D etc.
    Date UniqueID2 Uni88 Uni2992
    Date2 Unie 8282
    Date3 etc.

    unique id will never appear more then ones.
    Basically we need to track on what date which "UniqueID" has been done on sheet 1 B!

    thanks

    PS: why doesnt v lookup due =VLOOKUP("a",Sheet2!A1:E20,1)

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

    Please Login or Register  to view this content.
    where A2 is the location of the first Unique id to match.
    Sheet2!B1:E20 houses the mixed array of unique ID's (never duplicated)
    Sheet2!A1:A20 houses the dates corresponding to the entries.

    adjust all ranges to suit.
    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
    06-07-2007
    Posts
    3
    mhh cheers but no.

    the unique ID are actually text strings but that actually seems to work but the value that gets returned is a weird number? I take it this is because we do a sumproduct which wont really help me if I try to return a date

    for example excel returns 39221 but the date is 19/05/07
    Last edited by germanjulian; 06-07-2007 at 11:45 AM.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    I should've mentioned that you may need to format the result cells as date.

    i.e. Format|Cells >> Number tab then select Date and choose desired format.

+ 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