Add weekend days to the total amount

lastminuteproject

New Member
Joined
Apr 28, 2010
Messages
19
Hi all,

I making some planning for my company and they make all the calculations as a working days. I need something like this:

Cell A=Starting date
Cell B= End date
Cell C= Number of working days

I want that cell B get calculated starting from A and adding C and the corresponding weekend days.

I made something that work, but only for working days less than a week:

Cell A: Start date
Cell B: =IF(C1="Y",A1+D1+1,A1+D1-1) -->IAdd 2 days if we go through a weekend
Cell C: =IF(WEEKDAY(A1)+D1>5,"Y","N") -->Tell if we go through a weekend
Cell D: working days

Anyone can help me?

Thank you in advance
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hi and welcome to the board.

I believe you are after WORKDAY:

=WORKDAY(A1,B1)

Where A1 is the start date and B1 is the number of days to add. WORKDAY also takes a 3rd argument where you can pass a range of holiday dates to exclude too. E;g,

=WORKDAY(A1,B1,J1:J10)
 
Upvote 0
If you require value in cell B2, try:

=TEXT(WORKDAY(A2,C2,2),"DD/MM/YY")
 
Upvote 0
Oooh man!:eek:! That was easy. I was smashing my brain with never ending formulas and relations :ROFLMAO:

That really solve my problem.

Thank you a lot for the fast answer
 
Upvote 0

Forum statistics

Threads
1,215,463
Messages
6,124,965
Members
449,201
Latest member
Jamil ahmed

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top