+ Reply to Thread
Results 1 to 5 of 5

Populating list of dates from another sheet with Start Dates and End Dates

  1. #1
    Registered User
    Join Date
    10-29-2015
    Location
    Austin, TX
    MS-Off Ver
    2016
    Posts
    2

    Populating list of dates from another sheet with Start Dates and End Dates

    I would like to populate a second Excel sheet, consisting of a list of dates, with project names according to the first spreadsheet.

    I've attached an example with the second sheet manually-populated that I would like to be populated automatically.

    I'm also curious if more than one project can be listed after a date if dates overlap (ie, on the example, for November 5th, "Project A, Project B".
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Populating list of dates from another sheet with Start Dates and End Dates

    Hi, welcome to the forum

    To get the 1st name is easy...
    =IFERROR(INDEX(Sheet1!$A$2:$A$4,MATCH(Sheet2!A2,Sheet1!$B$2:$B$4)),"")
    To add additional names will get tricky. What would the max amount of extra names be?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    10-29-2015
    Location
    Austin, TX
    MS-Off Ver
    2016
    Posts
    2

    Re: Populating list of dates from another sheet with Start Dates and End Dates

    Sorry for the delay - this task got sidelined at work. What if, on the second sheet, there could be more than one row of a certain date, each with a different project listed? Is that more simple? I'm attaching a revised example (see November 5th).
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Populating list of dates from another sheet with Start Dates and End Dates

    I have taken a slightly different approach on this, using Conditional Formatting to highlight the date range in each row - it shows up the "overlap" really well, not sure is this is something you can work with?
    Attached Files Attached Files

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Populating list of dates from another sheet with Start Dates and End Dates

    Try array-entering this in C2 and filling down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.

    Row\Col
    A
    B
    C
    D
    1
    Date Project(s)
    2
    11/1/2015
    {=IFERROR(INDEX(Sheet1!$A$2:$A$4,SMALL(IF((A2>=Sheet1!$B$2:$B$4)*(A2<=Sheet1!$C$2:$C$4),ROW($1:$3)),COUNTIF($A$2:A2,A2))),"")}
    3
    11/2/2015
    Project A Project A
    4
    11/3/2015
    Project A Project A
    5
    11/4/2015
    Project A Project A
    6
    11/5/2015
    Project A Project A
    7
    11/5/2015
    Project B Project B
    8
    11/6/2015
    Project B Project B
    9
    11/7/2015
    Project B Project B
    10
    11/8/2015
    Project C Project C
    Dave

+ 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] Creating a formula to populate range of cells between dates based on start and end dates
    By Rainmain82 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-20-2014, 07:42 PM
  2. [SOLVED] Creating a formula to populate range of cells between dates based on start and end dates
    By Rainmain82 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-18-2014, 07:55 AM
  3. Replies: 6
    Last Post: 03-11-2013, 06:11 PM
  4. [SOLVED] Highlight Group of Dates if Dates Match List of other Dates
    By martinpgibson in forum Excel General
    Replies: 5
    Last Post: 10-24-2012, 08:14 PM
  5. Pivot Group Dates - how to remove start and end dates from table
    By markoloughlin in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 08-21-2012, 04:19 AM
  6. Populating column with dates based on start and end date
    By mdavid800 in forum Excel General
    Replies: 5
    Last Post: 08-07-2011, 12:49 PM
  7. Replies: 5
    Last Post: 06-30-2011, 03:26 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