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

Kutools for Excel - Helps You To Stand Out From Crowd

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions…
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

Description


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