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 add number of business/working days or hours to a date in Excel?

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


Easily add number of dates / hours / minutes to date in Excel:

Kutools for Excel's Add Dates / Hours / Minutes formulas can help you quickly add number of dates, hours or minutes to a date in Excel. See screenshot:

Kutools for Excel includes more than 300 handy Excel tools. Free to try with no limitation in 60 days. Download the free trial now


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:

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).

doc add working hours days to a date 1

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.


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.

doc add working hours days to a date 1

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.

doc add working hours days to a date 1

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.


Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
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.
  • To post as a guest, your comment is unpublished.
    harish · 25 days ago
    can some help me to get a formula for below condition
    I am unable to get the time , If i do =WORKDAY.INTL(A2,B2,1) ---Output is : Deal Date: 9/11/2018 0:00, Where the time is not coming up, As time should come with 18:34 PM

    A2: Deal Date :9/7/2018 18:34 PM
    B2: Days: 2
    Output is :New Deal Date: 9/11/2018 0:00

    Required Output is 9/11/2018 18:34 PM - Plz help me with the formula!
    --------------------
    9/7/2018 - Friday , I need to add 2 days excluding weekends, So if i add 2 days to 9/7/2018(Friday ) its Tuesday (9/11/2018) by removing the Sat & Sun.
  • To post as a guest, your comment is unpublished.
    Hash Ann · 1 months ago
    How to add a cell in the excel says that maximum hours per day (i.e., 8 hours) The time calculation to be bound by 8 hours per day. Please help me if we can have the spread sheet cap the calculation at 8.?
  • To post as a guest, your comment is unpublished.
    Tiit Perve · 2 months ago
    How to get cells in excel formula (H6; H7; H8; H9)
    Forma C2 = =WORKDAY(B2;MAX(ROUNDUP((E2-IF((COUNTIF($J$4:$J$91;INT(B2))=0)*(WEEKDAY(B2;2)<=5);IF(MOD(B2;1)>$H$3;0;IF(MOD(B2;1)>=$H$5;(H3-MOD(B2;1))*24;($H$3-MAX(MOD(B2;1);$H$2)-($H$5-MAX(MOD(B2;1);$H$4)))*24));0))/(($H$3-$H$2-($H$5-$H$4))*24);0);0);$J$4:$J$91)+$H$2+(IFERROR(CEILING(MOD((E2-IF((COUNTIF($J$4:$J$91;INT(B2))=0)*(WEEKDAY(B2;2)<=5);IF(MOD(B2;1)>$H$3;0;IF(MOD(B2;1)>=$H$5;($H$3-MOD(B2;1))*24;($H$3-MAX(MOD(B2;1);$H$2)-($H$5-MAX(MOD(B2;1);$H$4)))*24));0))/(($H$3-$H$2-($H$5-$H$4))*24);1)-0,00000001;0,00000001);1)*($H$3-$H$2-($H$5-$H$4))*24+(IFERROR(CEILING(MOD((E2-IF((COUNTIF($J$4:$J$91;INT(B2))=0)*(WEEKDAY(B2;2)<=5);IF(MOD(B2;1)>H3;0;IF(MOD(B2;1)>=$H$5;($H$3-MOD(B2;1))*24;($H$3-MAX(MOD(B2;1);$H$2)-($H$5-MAX(MOD(B2;1);$H$4)))*24));0))/(($H$3-$H$2-($H$5-$H$4))*24);1)-0,00000001;0,00000001);1)*($H$3-$H$2-($H$5-$H$4))*24>($H$4-$H$2)*24)*($H$5-$H$4)*24)/24

    and C3 = =WORKDAY(B3;MAX(ROUNDUP((E3-IF((COUNTIF($J$4:$J$91;INT(B3))=0)*(WEEKDAY(B3;2)<=5);IF(MOD(B3;1)>$H$3;0;IF(MOD(B3;1)>=$H$5;(H4-MOD(B3;1))*24;($H$3-MAX(MOD(B3;1);$H$2)-($H$5-MAX(MOD(B3;1);$H$4)))*24));0))/(($H$3-$H$2-($H$5-$H$4))*24);0);0);$J$4:$J$91)+$H$2+(IFERROR(CEILING(MOD((E3-IF((COUNTIF($J$4:$J$91;INT(B3))=0)*(WEEKDAY(B3;2)<=5);IF(MOD(B3;1)>$H$3;0;IF(MOD(B3;1)>=$H$5;($H$3-MOD(B3;1))*24;($H$3-MAX(MOD(B3;1);$H$2)-($H$5-MAX(MOD(B3;1);$H$4)))*24));0))/(($H$3-$H$2-($H$5-$H$4))*24);1)-0,00000001;0,00000001);1)*($H$3-$H$2-($H$5-$H$4))*24+(IFERROR(CEILING(MOD((E3-IF((COUNTIF($J$4:$J$91;INT(B3))=0)*(WEEKDAY(B3;2)<=5);IF(MOD(B3;1)>H4;0;IF(MOD(B3;1)>=$H$5;($H$3-MOD(B3;1))*24;($H$3-MAX(MOD(B3;1);$H$2)-($H$5-MAX(MOD(B3;1);$H$4)))*24));0))/(($H$3-$H$2-($H$5-$H$4))*24);1)-0,00000001;0,00000001);1)*($H$3-$H$2-($H$5-$H$4))*24>($H$4-$H$2)*24)*($H$5-$H$4)*24)/24
    But the correct value is in D2 and D3. How to get it?
  • To post as a guest, your comment is unpublished.
    SHAHID · 5 months ago
    IF WE HAVE TO WRITE THE SAME FORMULA WITH WORKDAY.INTL THAN HOW TO WRITE IT
  • To post as a guest, your comment is unpublished.
    Agnese · 1 years ago
    Please, help... this formula works perfectly if start time is between the fixed start and end times, but if the start time happens to be outside the "legal work hours", it calculates wrong end date/time, because it ads "before schedule" hours and this way the calculated end time is earlier than it should be. I have a file, where the start date/time is not manually set (imported from another list) and it can be any day and any (exact) hour. What I want is that no matter what is the start date/time, excel would still add only net work hours that are in the schedule (in my case 9:00 - 17:00).