Note: The other languages of the website are Google-translated. Back to English

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

Kutools for Excel - Helps You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 80% time for you.

  • Designed for 1500 work scenarios, helps you solve 80% Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 30-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.
Ribbon of Excel (with Kutools for Excel installed)

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, Firefox, And New Internet Explorer.
Screen Shot of Excel (with Office Tab installed)
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations

Follow Us

Copyright © 2009 - www.extendoffice.com. | All rights reserved. Powered by ExtendOffice. | Sitemap
Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.
Protected by Sectigo SSL