Skip to main content

How to add number of business/working days or hours to a date in Excel?

Author: Siluvia Last Modified: 2024-10-09

You may need to add a number of business days or hours to a date in order to know the exact time you will finish the task during the working time. In this article, we will show you methods of adding number of business/working days or hours to a date in Excel.

Add number of business days to a date with formula

Add number of business hours to a date with formula


Add number of business days to a date with formula

Supposing date 2016/1/5 locates on cell A2, if you want to add 12 days only including working days to it without weekends, please do as follows.

1. Select a blank cell, enter formula =WORKDAY(A2,12) into the Formula Bar, and then press the Enter key. See screenshot:

apply a formula to add number of business days to a date

Then you will get the date after adding 12 working days.

Notes:

1. In the formula, A2 is the cell contains the date you want to add working days to, 12 is the number of working days you will add to the date. Please change them as you need.

2. With the above formula, you will get the result excluding weekends. But it may include some holidays after calculating. If you want to exclude both weekends and holidays, please apply this formula =WORKDAY(A2,B2,C2).

add number of business days to a date exclude both weekends and holidays

In this formula, A2 contains the date you will add working days to, B2 contains the number of working days, and C2 locates the date of holiday.

3. After applying the formulas, if you get a 5-digits number, please convert the cell format to date format.

a screenshot of kutools for excel ai

Unlock Excel Magic with Kutools AI

  • Smart Execution: Perform cell operations, analyze data, and create charts—all driven by simple commands.
  • Custom Formulas: Generate tailored formulas to streamline your workflows.
  • VBA Coding: Write and implement VBA code effortlessly.
  • Formula Interpretation: Understand complex formulas with ease.
  • Text Translation: Break language barriers within your spreadsheets.
Enhance your Excel capabilities with AI-powered tools. Download Now and experience efficiency like never before!

Add number of business hours to a date with formula

Supposing you have a start date and time, number of working hours needed to add, the start and end times of your work hours and the holiday you want to exclude as below screenshot shown. For adding number of business hours to the date, please do as follows.

sample data

1. Select a blank cell (says cell C2), enter the following formula into the formula bar, and then press the Enter key.

=WORKDAY(A2,INT(B2/8)+IF(TIME(HOUR(A2),MINUTE(A2),SECOND(A2))+TIME(MOD(B2,8),MOD(MOD(B2,8),1)*60,0)>
$F$2,1,0),$G$2:$G$2)+IF(TIME(HOUR(A2),MINUTE(A2),SECOND(A2))+TIME(MOD(B2,8),MOD(MOD(B2,8),1)*60,0)>$F$2,$E$2
+TIME(HOUR(A2),MINUTE(A2),SECOND(A2))+TIME(MOD(B2,8),MOD(MOD(B2,8),1)*60,0)-$F$2,TIME(HOUR(A2),MINUTE(A2),SECOND(A2))
+TIME(MOD(B2,8),MOD(MOD(B2,8),1)*60,0))

Then you can see the result as below screenshot shown.

apply a formula to add number of business hours to a date

Notes:

1. In the formula, A2 is the cell contains the date, B2 contains the working hours you will add to date, E2 and F2 are the start and end time of your work hours, and $G$2 is the specific holiday date. You can change them based on your needs.

2. If you get a number after applying this formula, please change the cell format to a date and time format.

Best Office Productivity Tools

🤖 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 Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create 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 Ranges & Columns ...
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 Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


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!