+ Reply to Thread
Results 1 to 2 of 2

Preventing event clustering

  1. #1
    Registered User
    Join Date
    08-30-2008
    Location
    Germany
    Posts
    2

    Preventing event clustering

    Hi,
    I want to exclude event overlaps in my dataset, i.e. all those events that appear within a 10 days time frame. I have started to convert the dates of events into numeric values so that they are more easy to identify.

    I now have a single column range with these numeric values and want to identify all values for which the difference between any of these numbers is less than 10. For instance...

    65
    56
    78
    43
    45
    46
    64

    How do I do that?


    best,

    Chris

  2. #2
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561
    I would leave dates as dates if I were you - they are numbers too...
    Are you leaving these dates unsorted?

    Put this in B1 and copy down (or adjust as apt)

    =IF(SUMPRODUCT(-($A$1:$A$7<A1+9),-($A$1:$A$7>A1-9))>1,"cluster","")

    HTH

+ 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. combobox.exit event
    By fozze in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-03-2008, 07:27 AM
  2. Vlookup - last event
    By RAG55 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-29-2008, 04:20 PM
  3. Run-Time Error 91 When Dynamically Creating Controls and Event Handlers
    By chucklod in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-21-2008, 05:47 PM
  4. BeforeDoubleClick Event on Protected Sheet
    By jasoncw in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-01-2007, 09:12 PM
  5. Flagging event due dates
    By muskt in forum Excel General
    Replies: 7
    Last Post: 11-19-2006, 05:44 PM

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