## How to calculate the weeks and days between two dates in Excel?

It may be common for us to calculate the days, months, years or weeks between two given dates. But, have you ever tried to calculate the weeks and days based on two dates in Excel?

Calculate the weeks and days between two dates with formula

Calculate the weeks and days in a month based on specific date with formula

#### Calculate the weeks and days between two dates with formula

To get the weeks and days between any two given dates, please use the below formula:

1. Enter or copy the following formula into a blank cell:

=INT((B2-A2)/7)&" weeks"&IF(MOD(B2-A2,7)=0,"",", "&MOD(B2-A2,7)&" days")

Note: In this formula, A2 is the start date, and B2 is the end date.

2. Then drag the fill handle down to apply this formula, and you will get the result as you need, see screenshot:

#### Calculate the weeks and days in a month based on specific date with formula

If you want to calculate the weeks and days in a month based on the specific date, you can apply the below formula.

1. Please enter or copy the following formula into a blank cell:

=INT(DAY(EOMONTH(A2,0))/7)&" Weeks, "&MOD(DAY(EOMONTH(A2,0)),7)&" Days"

Note: A2 is the specific date you want to get the weeks and days in that month.

2. And then, drag the fill handle down to the cells that you want to apply this formula, and the weeks and days have been calculated within the given month, see screenshot:

#### More relative articles:

• Calculate Week Ending Date Of The Given Dates/Years
• In some cases, you may want to calculate the week ending date of the given dates for better tracking and supervising working missions. In this article, I introduce some tricks which can quickly calculate the week ending date of the give dates, or list all week ending dates of the given year in Excel.
• Calculate Date Of The Nth Weekday Of Certain Month And Year
• As you know, some special days are on the specified nth day of week, says the Thanksgiving day is on the 4th Thursday of November, and the Mother’s day is on the 2nd Sunday of May. Hence, excepting picking up a date from the calendars, is there a way to calculate the date of the nth day of week in a certain month and year, if your boss tells you the deadline is the third Wednesday of August?

## The Best Office Productivity Tools

### Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

• Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
• Merge Cells/Rows/Columns and Keeping Data; Split Cells Content; Combine Duplicate Rows and Sum/Average... Prevent Duplicate Cells; Compare Ranges...
• Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
• Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
• Favorite and Quickly Insert Formulas, Ranges, Charts and Pictures; Encrypt Cells with password; Create Mailing List and send emails...
• Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
• Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
• Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
• Pivot Table Grouping by week number, day of week and more... Show Unlocked, Locked Cells by different colors; Highlight Cells That Have Formula/Name...

### Office Tab - brings tabbed interface to Office, and make your work much easier

• Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
• Open and create multiple documents in new tabs of the same window, rather than in new windows.
• Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
This comment was minimized by the moderator on the site
Do you have the formula to determine months, weeks, and days in between dates?
This comment was minimized by the moderator on the site
Hello Timothy,

How are you. It's not common to calculate months, weeks, and days in between dates, instead, we usually calcualte years, months, and days in between dates. In this case, you can use the formula:
=DATEDIF(A1,B1,"Y") & " Years, " & DATEDIF(A1,B1,"YM") & " Months,"& DATEDIF(A1,B1,"MD") & " Days"

Please have a try. Have a nice day.

Sincerely,
Mandy
This comment was minimized by the moderator on the site
This is very helpful! Would it be possible to use this formula for multiple dates then have all the results totaled in weeks and day?
This comment was minimized by the moderator on the site
This formula is almost exactly what i need. Only is it possible to and how do I display weeks and days in separate cells?
Thanks
There are no comments posted here yet