Skip to main content

Excel Formula: Get Midpoint of Two Dates

doc convert date to julia 1

In Excel, most of the time, you need to get difference between two dates, but in some times, you may want to get the midpoint of two dates as above screenshot shown. Here this article introduces two formulas to get the midpoint of two dates in Excel in two different situations.

If you want to follow along with this tutorial, please download the example spreadsheet.
doc convert date to julia 1

Get midpoint of two dates including holidays and weekends

 

Generic formula

SUM(start_date,end_date)/2

Syntaxt and arguments

Start_date, End_date: the two dates that used to get the midpoint.

Return value

The formula returns to a number value. But the result may be shown in number format, or may be shown in a date format, which depends on the formats of Start_date and End_date.

How this formula works

Take a table as an example, column A and column B place the start dates and end dates separately, then get the midpoints of each date range in column C, please use below formula:

=SUM(A3,B3)/2

Press Enter key and then drag the auto fill handle down to fill this formula to other cells.
doc convert date to julia 1

Explanation

SUM function: this function used to add numbers together.

As we known, the dates are recorded as serial number in Excel, and to get a midpoint of two numbers, you need to add two numbers together and then divided by 2. SUM function can do it.

Get midpoint of two dates excluding weekends and holidays

 

Generic formula

WORKDAY(start_date,(end_date-start_date)/2,holidays)

Syntaxt and arguments

Start_date, End_date: the two dates that used to get the midpoint.
Holidays: the days that you want to exclude when counting.

Return value

The formula returns to a number. You need to format it as date format later.

How this formula works

Take a table as an example, column A and column B place the start dates and end dates separately, then get the midpoints of each date range in column C, please use below formula:

=WORKDAY(A3,(B3-A3)/2,F3:F5)

Press Enter key and then drag the auto fill handle down to fill this formula to other cells.
doc convert date to julia 1

Keep result cells selected, click Home tab and go to choose Short Date or Long Date from the drop-down menu of the Number Format.
doc convert date to julia 1

Explanation

WORKDAY function: this function is adding workdays to the given start date and returns a workday.


Relative Formulas

Relative Functions


The Best Office Productivity Tools


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations