+ Reply to Thread
Results 1 to 3 of 3

Calculate diff in dates for specific ID

  1. #1
    Registered User
    Join Date
    03-05-2018
    Location
    KSA
    MS-Off Ver
    Windows 7
    Posts
    3

    Calculate diff in dates for specific ID

    Dears
    I have an excel sheet, with a Id in 1st column and dates in 4th column. The IDs are in number format.
    I want to calculate the no of days for the dates in the above row until the ID in first column is same. It should restart new calculation when the Id changes. Is there any formula to do this.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,972

    Re: Calculate diff in dates for specific ID

    Will you please attach a sample Excel workbook?

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,972

    Re: Calculate diff in dates for specific ID

    This thread has been marked solved - is it?

+ 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. Calculate number of months in a specific year between two dates.
    By chickynee in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-09-2019, 07:29 PM
  2. Formula to calculate Specific dates and times
    By aloggies in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-13-2015, 12:39 PM
  3. [SOLVED] Calculate number of months for a specific year between 2 cells with dates in them
    By accounting2015 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-25-2015, 12:22 AM
  4. Replies: 7
    Last Post: 04-09-2014, 09:25 AM
  5. Replies: 2
    Last Post: 01-13-2013, 06:50 AM
  6. How to calculate days between two dates (specific)
    By netone_1 in forum Excel General
    Replies: 7
    Last Post: 04-28-2011, 11:18 AM
  7. [SOLVED] Calculate Amounts for Specific Dates
    By bw in forum Excel General
    Replies: 2
    Last Post: 10-26-2005, 07:05 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