+ Reply to Thread
Results 1 to 7 of 7

Looking up the most recent date something was used from a list with muliple events

  1. #1
    Registered User
    Join Date
    11-06-2007
    Posts
    63

    Looking up the most recent date something was used from a list with muliple events

    Good morning,

    I have a two column list of Dates(A) and items used (B). Example is below. I want to look down the list of items and return the most recent date it was used.

    The second twist is that the list of items can contain multiple items in each cell. I can change the table to get around this but would be ideal if I could leave it as is. The list is currently sorted Date, Oldest date first.



    10/2 Hammer
    10/3 Hammer, Screwdriver
    10/4 Screwdriver
    10/5 Wrench, Hammer.


    I would like to have a master list of items and be able to see the most recent date used.

    Hammer 10/5
    Screwdriver 10/4
    Wrench 10/5

    Any suggestions?

    Thank you for your help.

    Todd

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Looking up the most recent date something was used from a list with muliple events

    "Hammer, Screwdriver" is these in the same cell?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Looking up the most recent date something was used from a list with muliple events

    see if the attached resolves your problem.
    Attached Files Attached Files
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  4. #4
    Registered User
    Join Date
    11-06-2007
    Posts
    63

    Re: Looking up the most recent date something was used from a list with muliple events

    Yes, they are. Like I said, I am able to change that so each gets it own cell in the same column, if needed.

    -TK

  5. #5
    Registered User
    Join Date
    11-06-2007
    Posts
    63

    Re: Looking up the most recent date something was used from a list with muliple events

    Awesome. It looks like it does. I have to spend some time making sure I understand it all but Thank You.

    This will save a ton of time!!

    Cheers.
    Todd

  6. #6
    Registered User
    Join Date
    11-06-2007
    Posts
    63

    Re: Looking up the most recent date something was used from a list with muliple events

    This formula is still a bit confusing. Can you help clarify?

    LOOKUP(2^20,(SEARCH("*"&B5&"*",Data!E:E)),Data!A:A))

    The only thing I can't get is why you are using the search function. Search looks for a sting in a sting and returns a number. Are we saying "find this string *B5*, in column E and return a number"? If that is the case, how does lookup us a number for the lookup_vector?

    The formula works great, I am just not understanding why.

    Thank you for your effort.

    Cheers,
    Todd

  7. #7
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Looking up the most recent date something was used from a list with muliple events

    Hi

    Try: LOOKUP


    It is Important that the lookup vector is in ascending order.

    The search is creating a internal array for the lookup vector EG: 1; 1; #Value;1. And the lookup value 2^20 (1048576) is looking in the lookup vector and returns the last instant of 1, which in returns the result from the result vector. I hope this is clear (Probably clear as mud!).

+ 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