+ Reply to Thread
Results 1 to 8 of 8

Multiple start and end dates

Hybrid View

  1. #1
    Registered User
    Join Date
    01-05-2017
    Location
    Nottingham, UK
    MS-Off Ver
    2013
    Posts
    5

    Multiple start and end dates

    Hi there,

    I'm having trouble producing an absence calendar for my employees. I have multiple start and end dates for holidays but would like to show all holidays on a single line sequentially.
    I've attached an example of my problem (I think...first time using this) data showing absence entries on the left and a rolling calendar on the right. I don't know if both of my absences could appear on the same line on the right...please help!

    thanks
    Emily
    Attached Files Attached Files

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,973

    Re: Multiple start and end dates

    You can use COUNTIFS.

    Something like...
    =IF(COUNTIFS($B$2:$B$3,$F$2,$C$2:$C$3,">="&G$1,$D$2:$D$3,"<="&G$1)>=1,"A","")

    See attached.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    01-05-2017
    Location
    Nottingham, UK
    MS-Off Ver
    2013
    Posts
    5

    Re: Multiple start and end dates

    Thank you so much, it works perfectly!

    you've saved me tons of time

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,895

    Re: Multiple start and end dates

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  5. #5
    Registered User
    Join Date
    01-05-2017
    Location
    Nottingham, UK
    MS-Off Ver
    2013
    Posts
    5

    Re: Multiple start and end dates

    Hi,

    I thought this solved the problem but, when I enter periods of absence that last longer than one day, nothing shows up at all.

    Any ideas?

  6. #6
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,973

    Re: Multiple start and end dates

    Woops, looking at it now. I had the sign reversed for start date and end date.

    Amend formula to below.
    =IF(COUNTIFS($B$2:$B$3,$F$2,$C$2:$C$3,"<="&G$1,$D$2:$D$3,">="&G$1)>=1,"A","")

  7. #7
    Registered User
    Join Date
    01-05-2017
    Location
    Nottingham, UK
    MS-Off Ver
    2013
    Posts
    5

    Re: Multiple start and end dates

    Ah brilliant!

    Thanks again!

  8. #8
    Registered User
    Join Date
    01-05-2017
    Location
    Nottingham, UK
    MS-Off Ver
    2013
    Posts
    5

    Re: Multiple start and end dates

    Ah brilliant!

    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. Replies: 3
    Last Post: 06-15-2016, 09:11 AM
  2. Replies: 2
    Last Post: 10-06-2015, 01:19 AM
  3. Gantt chart for multiple start and end dates
    By SunRay in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 02-05-2015, 08:54 PM
  4. [SOLVED] Multiple start-dates for Line Graph data
    By MikeOShay in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 07-10-2013, 04:01 PM
  5. Find months between start and end dates and multiple the monthly revenue
    By Vinnie Chan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-09-2013, 05:22 PM
  6. Replies: 9
    Last Post: 03-05-2012, 08:17 AM
  7. Replies: 5
    Last Post: 06-30-2011, 03:26 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