+ Reply to Thread
Results 1 to 2 of 2

Errors in detecting end date of particular event in long data

  1. #1
    Registered User
    Join Date
    09-02-2020
    Location
    Kathmandu, Nepal
    MS-Off Ver
    2010
    Posts
    4

    Errors in detecting end date of particular event in long data

    I cannot detect the end date of particular last events in the attached file.
    I use
    (a) =AGGREGATE(15,6,$A$3:$A$28/($A$3:$A$28<>EDATE(N(+$A$2:$A$28),1)),ROWS(F$3:F3)) to fine start date and it work in all data range
    (b)=IFERROR(AGGREGATE(14,6,$A$3:$A$28/($A$3:$A$28>$F3)/($A$3:$A$28<$F4),1),"") to find end date but in only works on single end date bu cannot find continuous end date of last event.

    The data attached herewith make clear idea about the problem on "input-B" in column O (highilited there).
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Errors in detecting end date of particular event in long data

    This appears to be a follow-on from https://www.excelforum.com/excel-gen...end-event.html.

    The col N:O formulas have not been correctly modified from the originals in col-F:G. In particular the range ends in the formulas need to be extended from 28 to 36 and 35 to 36. Lastly in I36 there needs to be a final date like 9/1/2009. Now you will get the expected 6/1/2009 date in cell O13.

    In N3: copied down:
    =AGGREGATE(15,6,$I$3:$I$36/($I$3:$I$36<>EDATE(N(+$I$2:$I$35),1)),ROWS(N$3:N3))
    In =O3 copied down:
    IFERROR(AGGREGATE(14,6,$I$3:$I$36/($I$3:$I$36>$N3)/($I$3:$I$36<$N4),1),"")
    Geoff

    Did I help significantly? If you wish, click on * Add Reputation to say thanks.
    If your problem has been resolved please select ?Solved? from the Thread Tools menu

+ 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. [SOLVED] Detecting date errors
    By fa2020 in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 09-07-2020, 12:09 PM
  2. [SOLVED] Detecting a PASTE event related to a UserForm TextBox.
    By Max_Taylor in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-25-2014, 05:25 PM
  3. [SOLVED] Detecting Row Resize Event
    By ops_manager in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-02-2013, 02:51 PM
  4. detecting errors only in unhidden rows!
    By niceguy21 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-06-2013, 02:34 PM
  5. Detecting close event on Embedded Object
    By jtompkins in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-23-2011, 10:57 AM
  6. Replies: 0
    Last Post: 07-17-2006, 12:45 PM
  7. [SOLVED] Detecting a cancel on Workbook_BeforeClose event?
    By Don Wiss in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-18-2005, 09:06 AM

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