Comments on: How to calculate days between dates in Excel

Are you wondering how many days are between two dates? Maybe, you need to know the number of days between today and some specific date in the past or future? Or, you just want to count working days between two dates? Whatever your task is, one of the below examples will certainly provide the solution. Continue reading

Comments page 4. Total comments: 154

  1. I need to prepare a summary of different workers. how i calculate in a single formula that how many workers we have staff cadre and are regular and contract and how many staff are regular and contract.

  2. I need help with calculating the number of holidays in a per month.
    These are the holidays for 2019:
    1-Jan-19
    9-Apr-19
    18-Apr-19
    1-May-19
    5-Jun-19
    These are the holiday for 2020:
    1-Jan-20
    9-Apr-20
    10-Apr-20
    1-May-20
    24-May-20

  3. Please i need help,find the number of days between two dates

  4. I want formula for counting days between two dates. In case of from date and to date are same so here the number of days is 1. But all above formula shows 0.

    1. =IF(AND(A=E,B=F,C=G),1,difference formula)
      here A,B,C contains date 1 and E,F,G contains second date.

  5. Hi, I need help if someone knows about excel formulas. I have an excel sheet that has an ordered date and days been ordered. But some of the cells do not have requested date, in that case, I need the cells to be empty.

  6. Count days from today. If the call is blank, shows nothing.

  7. Hi I am really stryggling with the correct formulas for these columns. I think I have them done correctly, but can't seem to figure out how to get the "Days Complete" and the "Days Remaining" in real time. So if it is completed, it should show 0, and if compared to the present I don't want it to show a negative number but just a zero for completion. HELP PLEASE!! Here are my columns and their values:

    START DATE 12/18 DAY OF MONTH* 18 END DATE 1/4 DURATION*(WORK DAYS) 14 DAYS COMPLETE* 14 DAYS REMAINING*-56 TEAM MEMBER ABC PERCENT COMPLETE ?

  8. Hi...is there a way to Calculate the # of workdays between 2 dates & then allocate them by month? I just can't seem to get any formula to work?

  9. I need a formula to calculate number of days between 2 dates. However, the number of days must be separated. Example: column A: 29/1/19 - 2/2/19, then column B = number of days for January, column C = number of day for February.

  10. Dear sir,
    I want to calculate days from date to end date i.e if vacation start from 10 jan to 20 jan, by above formula it will show 10 days but atual it is 11 days. Can you explain please

  11. Hi,
    I have entered entry and leaving dates from India for last 3 years, and have found the number of days in between. I want this for a range of dates, example in 2017, how many days was I in the country? Pls help, thanks.

  12. Dear SIr,
    Please share demo how to do like this because i trying so many time but i not get actual formula so i request to you share on video to how make formula this is very valuable formula.
    Thanks & Best Regards
    Mohammad Abid Quraishi

  13. Hi,

    I'm trying to do something similar to Danielle, but would like to calculate the number of days something is open, so I would need to use 3 dates to calculate this, date open, date closed and today.

    Would anyone be able to help with the formula?

    Thanks Vicky

  14. Hi

    I am trying to total the number of days a certain job takes to do. However if the task is done in the same day how do I get excel to count this as 1 day?

    Any feedback would be super - thank you
    Danielle

    1. Hi Danielle,

      Assuming that your dates and in A and B columns, the formula below should work for you:
      =IF(B1 = A1, 1, B1-A1)

      Just enter this formula in C1 and then copy it along the column.

      1. What if I wanted to use this formula with "B1" being "Today"? I can't seem to make that work.

  15. I need to know the day of the date in one coloumn
    for Example 23/10/2018 what would be the Day?

    For the 100 lines i will have the dates, i need to find the day

    1. Hello, Prema.
      Thank you for contacting us and for your question.

      If you need to replace 23/10/2018 with the corresponding day of the week, you just need to select your cells, then press Ctrl+1 to open the Format Cells dialog. On the Number tab, select Custom from the Category list and type the following date format: dddd

      You can learn more about date formats in Excel in this article on our blog.

      Hope you’ll find this information helpful.

  16. I would like to subtract Sundays from the networking days calculated

  17. Could you please help me with the formula to work out how many days between dates, but if there is no start date (yet) to display 0 instead of 43388

    1. Hello,
      Please try the following formula:
      =IF(ISBLANK(A1), 0, DATEDIF(A1,B1,"d"))

      You can also learn about Excel date functions in Excel in this article on our blog.

      Hope you’ll find this information helpful.

      1. Thank you Mam..

      2. Excellent, thank you; just what I needed - the date difference and a zeroed-out field while only the start date is currently known.

      3. When one column date is 30/6/2019 and once column is blank (no date) then how to check difference between two columns , i need result "0" if any formula try to check two columns difference

  18. Can you please tell how can I add a text in this for example tell me the formula for current date to my excel data date is greater than 5 days I need one text as abcd.. can you please help me in this formula

  19. Hi my question is i want value against date 20/09/2018 Subtract 18/09/2018 in excel

  20. In testing, it appears the DATEDIF does not compute date values prior to Jan 1, 1900. What's the solution for computing date different (age, for example), if the birth date is in the late 1800s?

  21. Very informative and useful for me.

    Thank you.

  22. Nitesh:
    The formula is ((End Date + End Time)-(Start Date + Start Time))*24
    Format each cell the way you usually do for each variable.
    Format the result cell as General or Number.

  23. how to calculate times difference.
    if start date and start time in different column and end date and end time are in different column than how to calculate.

Post a comment



Thank you for your comment!
When posting a question, please be very clear and concise. This will help us provide a quick and relevant solution to
your query. We cannot guarantee that we will answer every question, but we'll do our best :)