Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

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?


  • 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...
kte tab 201905
  • 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!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.