+ Reply to Thread
Results 1 to 5 of 5

Matching Criteria from adjacent dates

  1. #1
    Forum Contributor
    Join Date
    07-29-2009
    Location
    Melbourne, Australia
    MS-Off Ver
    365
    Posts
    255

    Matching Criteria from adjacent dates

    Hi there,

    When looking at human resource leave data I am interested in knowing if staff are taking a sick day before or after an annual leave day.

    My data set includes the date, employee name and the leave type taken.

    Is the following example John has taken Sick leave next to Annual leave.

    Is there a formula that will pick this up?

    Raw Data


    Please Login or Register  to view this content.

    Desired Output

    Please Login or Register  to view this content.
    Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind.

  2. #2
    Forum Contributor
    Join Date
    06-26-2013
    Location
    LAX
    MS-Off Ver
    Excel 2007,Excel 2010
    Posts
    363

    Re: Matching Criteria from adjacent dates

    Hello,

    See if the attached example file helps you...
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    06-26-2013
    Location
    LAX
    MS-Off Ver
    Excel 2007,Excel 2010
    Posts
    363

    Re: Matching Criteria from adjacent dates

    So does this helped you any way?

  4. #4
    Forum Contributor
    Join Date
    07-29-2009
    Location
    Melbourne, Australia
    MS-Off Ver
    365
    Posts
    255

    Re: Matching Criteria from adjacent dates

    Yes this did help, thank you!

  5. #5
    Forum Contributor
    Join Date
    07-29-2009
    Location
    Melbourne, Australia
    MS-Off Ver
    365
    Posts
    255

    Re: Matching Criteria from adjacent dates

    I have realised that the data I need to apply this to is not as linear as first thought. I will use your logic and apply.

    Thanks again...

+ 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] Sumproduct for 3 Criteria (between 2 dates, plus a matching text entry other cell)
    By Adam9W in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-19-2013, 07:02 AM
  2. Replies: 2
    Last Post: 06-12-2012, 06:39 PM
  3. Count if between two dates and matching criteria
    By RichST in forum Excel General
    Replies: 2
    Last Post: 10-12-2010, 07:55 AM
  4. Counting the Number of Dates with Matching Month Criteria
    By zom in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-17-2008, 07:47 PM
  5. Counting the Number of Dates with Matching Month Criteria
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 08-25-2005, 05:50 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