+ Reply to Thread
Results 1 to 16 of 16

Looking up by Multiple criteria the last date an event occurred ?

  1. #1
    Forum Contributor
    Join Date
    07-08-2014
    Location
    israel
    MS-Off Ver
    office 365
    Posts
    101

    Looking up by Multiple criteria the last date an event occurred ?

    Trying to find by some criteria the last date an event occurred someone can help?

    I have a list of some sites with some types of products For each type and site there are different dates that an event occurred I set some search parameters name of the site Type The event is different from zero (occurred) Required to find the earliest and latest date the event occurred

    Capture.JPG
    Attached Files Attached Files
    Last edited by sryair; 09-20-2020 at 03:59 PM. Reason: ADD FILE

  2. #2
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Trying to find by some criteria the last date an event occurred someone can help?

    Hi,

    Fast answers need clear examples. Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. Just before posting, scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.

  3. #3
    Forum Contributor
    Join Date
    07-08-2014
    Location
    israel
    MS-Off Ver
    office 365
    Posts
    101

    Re: Trying to find by some criteria the last date an event occurred someone can help?

    Thank you
    I uploaded a file with representative sample data, the search parameters and the desired result

  4. #4
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Trying to find by some criteria the last date an event occurred someone can help?

    Hi
    Why is the 1st even June 2015 and not Jan. 2015?

  5. #5
    Forum Contributor
    Join Date
    07-08-2014
    Location
    israel
    MS-Off Ver
    office 365
    Posts
    101

    Re: Trying to find by some criteria the last date an event occurred someone can help?

    hi,

    According to the data in the file, the first event (<>0) occurred in June 2015 (line 8)

    The criteria are:
    site1
    type1
    event <>0

    thank you!

  6. #6
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Looking up by Multiple criteria the last date an event occurred ?

    Thanks, Please try in I5:

    Please Login or Register  to view this content.
    In I6:
    Please Login or Register  to view this content.
    Last edited by Limor_OP; 09-20-2020 at 04:15 PM.

  7. #7
    Forum Contributor
    Join Date
    07-08-2014
    Location
    israel
    MS-Off Ver
    office 365
    Posts
    101

    Re: Looking up by Multiple criteria the last date an event occurred ?

    Thank you!

    Works perfect !!!

    Trying to figure out the solution ...

  8. #8
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Looking up by Multiple criteria the last date an event occurred ?

    This is given that the dates are sorted in ascending way.....

  9. #9
    Forum Contributor
    Join Date
    07-08-2014
    Location
    israel
    MS-Off Ver
    office 365
    Posts
    101

    Re: Looking up by Multiple criteria the last date an event occurred ?

    Is there an alternative solution in case the records are in random order and I want to extract values only according to the criteria?

    Thank you!!!

  10. #10
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Looking up by Multiple criteria the last date an event occurred ?

    Probably there is, but I can make this work only with helpers.

    In H2 and down:
    =MOD(D2/1000,2)+MOD(C2/100000,2)

    In I2 and down:
    =1/H2

    Then for the last event:
    Please Login or Register  to view this content.
    First Event:
    Please Login or Register  to view this content.
    Attached Files Attached Files

  11. #11
    Forum Contributor
    Join Date
    07-08-2014
    Location
    israel
    MS-Off Ver
    office 365
    Posts
    101

    Re: Looking up by Multiple criteria the last date an event occurred ?

    Thank you

    I learned a lot from you

  12. #12
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Looking up by Multiple criteria the last date an event occurred ?

    With data is in any order

    In I5, return real date, then format as "mmmm-yyyy":

    Please Login or Register  to view this content.
    I6, return real date, then format as "mmmm-yyyy"::

    Please Login or Register  to view this content.
    If you want it is text:

    I5:
    Please Login or Register  to view this content.
    I6:
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Quang PT

  13. #13
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Looking up by Multiple criteria the last date an event occurred ?

    Quote Originally Posted by bebo021999 View Post
    With data is in any order
    OK, so that's the trick, to divide instead of multiply.....nice.

  14. #14
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Looking up by Multiple criteria the last date an event occurred ?

    Quote Originally Posted by belinda200 View Post
    OK, so that's the trick, to divide instead of multiply.....nice.
    I usuaslly use AGGREGATE(x,y,range1/range2,...,n) with devide "/" because AGGREGATE is very strong with range that contain #error (#0/DIV)

  15. #15
    Forum Contributor
    Join Date
    07-08-2014
    Location
    israel
    MS-Off Ver
    office 365
    Posts
    101

    Re: Looking up by Multiple criteria the last date an event occurred ?

    Thank you
    I learned a lot from your approach

  16. #16
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Looking up by Multiple criteria the last date an event occurred ?

    Thank you so much for the advice Bebo...I will try that

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 01-25-2019, 10:00 PM
  2. [SOLVED] Find list of words occurred
    By mohanjackie in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-19-2017, 09:55 AM
  3. [SOLVED] Find last time text in row and date it occurred
    By Titan27 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-20-2016, 04:12 PM
  4. [SOLVED] Number of days since last event occurred
    By dafella in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-27-2013, 04:16 AM
  5. How to tell the order in which an event occurred?
    By Camanarac in forum Excel General
    Replies: 6
    Last Post: 04-01-2011, 01:00 PM
  6. Replies: 2
    Last Post: 05-06-2010, 12:20 PM
  7. Find MAX, show date when MAX occurred
    By canonelan2 in forum Excel General
    Replies: 2
    Last Post: 10-09-2008, 02:14 PM

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