+ Reply to Thread
Results 1 to 2 of 2

Getting difference between dates from 2 date ranges then categorize it in another table

  1. #1
    Registered User
    Join Date
    09-21-2020
    Location
    Philippines
    MS-Off Ver
    Office365
    Posts
    1

    Getting difference between dates from 2 date ranges then categorize it in another table

    Hello


    I need help with this issue. Basically, what I need is to get the difference between 2 date range. Then check if it exceeds a certain # of days.
    I know how to do this separately. But I need help in combining them.

    example:
    if (MONTH(ASD) = "January") then
    if (CLOSED <> "") then
    X = Closed - ASD;

    Please refer to my attached file.

    to get the Month from the date range, I used this formula:
    =SUMPRODUCT((MONTH(C:C)=1)*1)

    For the Difference in Dates, I use
    =IF(B<>"",DAYS(B,C),0)

    Any help is appreciated. Thanks.
    Attached Files Attached Files
    Last edited by megiddo; 09-21-2020 at 05:06 AM.

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Getting difference between dates from 2 date ranges then categorize it in another tabl

    which column do you the X value.
    where is the max limit of # days.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

+ 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: 2
    Last Post: 07-26-2020, 04:50 PM
  2. [SOLVED] How to calculate date difference between two dates with its related unique ID.
    By JayeshG in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-27-2018, 12:55 PM
  3. Difference between two dates based on date and hour
    By cmorten82 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-25-2015, 12:09 PM
  4. Replies: 4
    Last Post: 02-19-2015, 08:37 PM
  5. Return difference in days, hours, minutes between two date and time ranges.
    By craig amolsch in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-03-2013, 06:21 PM
  6. Calculating difference in date between 2 columns of dates
    By DKerr in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 11-08-2010, 05:04 AM
  7. Categorize columns as per dates
    By praveen_khm in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-20-2006, 11:34 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