+ Reply to Thread
Results 1 to 2 of 2

Formula to find the End date value from a date range.

  1. #1
    Registered User
    Join Date
    02-20-2019
    Location
    Belgium
    MS-Off Ver
    Office 365
    Posts
    1

    Question Formula to find the End date value from a date range.

    Hello, '

    I have a set of data where few projects are enlisted and the amount of hours spent per project per week is captured. Based on this data, I need to find out the end date of the project.

    The challenge here is that, the project can start at any week and there are some projects which are already closed or are yet to start. I need a Lookup/Index-Match kind of solution, but just can't figure out what it would be. So far I could only solve it for the projects that starts at the very beginning of the given date range using this formula:

    =INDEX($C$1:$I$1,MATCH(TRUE,ISBLANK(C2:I2),0)-1).

    Can somebody help me to come up with a formula that is applicable for all the scenarios?

    The attached excel has both dataset and "desired" end result.

    Many thanks in advance for taking time to look into this.
    Attached Files Attached Files
    Last edited by ftk0811; 04-28-2021 at 07:45 AM.

  2. #2
    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
    28,180

    Re: Formula to find the End date value from a date range.

    In C13

    =IFERROR(INDEX($C$2:$I$2,LOOKUP(2,1/(INDEX($C$3:$I$8,MATCH($A13,$A$3:$A$8,0),0)),(COLUMN($C$2:$I$2)))-2),$B13)

+ 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: 4
    Last Post: 03-21-2018, 09:25 AM
  2. [SOLVED] Code doesn't find a date if it is a formula, but does find hard coded date
    By ABSTRAKTUS in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-14-2018, 06:25 AM
  3. [SOLVED] Find the start date from end date and date range and exclude weekends
    By tantcu in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-28-2017, 04:43 AM
  4. [SOLVED] look-up a date in a range and find the date that is closest todays date
    By VanShark in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-12-2014, 09:46 PM
  5. trying to find a date range formula
    By fentiger79 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 03-06-2013, 04:01 PM
  6. [SOLVED] Formula to find a date range and date average
    By 1Monkey in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-14-2012, 11:51 AM
  7. Replies: 2
    Last Post: 01-04-2012, 09:15 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