Networkdays and Days360 values

cgucci1

New Member
Joined
Jun 9, 2015
Messages
2
Good morning. I am trying to write a formula that will take into account the weekends and holidays, which I have done with Networkdays. Now I am trying to expand that formula to look at the actual dates and return a 0 if the creation and closure are the same day.

-- removed inline image ---

-- removed inline image ---

Column B2 - 5/1/15 12:04 AM
Column C2 - 5/1/15 3:12 PM

=Networkdays(B2,C2,Holiday_2015) is my current formula
When I use =Days360 (b2,c2) I get a value of 0

Can anyone assist me on how to get these 2 formulas combined to give the correct answer?

Thank you.
Candy Baldwin
 
Last edited:

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hi

I would just check to see if the rounded down datevalue of both cells is the same (I'm using TRUNC() here to round down to no decimal places):

=IF(TRUNC(B2)=TRUNC(C2), 0, NETWORKDAYS(B2, C2, Holiday_2015))

Edit: You could of course replace TRUNC() and equals with DAYS360(B2, C2)=0

Hope that helps

Mackers
 
Upvote 0

Forum statistics

Threads
1,214,984
Messages
6,122,601
Members
449,089
Latest member
Motoracer88

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