Date Function to exclude Weekends and display as dates

petes

Board Regular
Joined
Sep 12, 2009
Messages
168
I need a function so that it will calculate as follows:

A1 = I will enter the date
B1 = I will enter the number
C1 = RESULT (Formula needed???)

Calculation of RESULT

Eg: If i enter the date as 05/09/2011 in cell A1 and enter 5 in cell B1, the result should add 5 to 05/09/2011, but should exclude the weekends (Sat and Sun) and display the date in C1

In this example it should display 05/16/2011 in cell C1 and NOT 05/14/2011 (Because 05/14/2011 is a weekend)
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Hi,

Try: =workday(A1,B1)

Ensure you have the Analysis ToolPak enabled: Tools -> Addins -> Analysis ToolPak
 
Upvote 0
Unfortunately I am unable to active the toolpak to validate what I am writing, so bear with me.

Try also,

=networkdays(a1, b1, f1:f11)

If you place bank holidays, booked holidays etc... in, then these will take the role of being counted as weekends.

Regards
 
Upvote 0

Forum statistics

Threads
1,224,583
Messages
6,179,681
Members
452,937
Latest member
Bhg1984

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