Using Networkdays with negative numbers

V

VainDM

say i have 3 columns <ID> <Est Finish Date> and <Actual Finish Date> and I
want an extra column that tells me how many working days before or after the
estimated finish date the actual finish date is. I used Networkdays and it
gave me the number of days after the estimated date minus the weekends,
however when the actual date was before the estimated date the formula still
counted the weekends.

Does anyone know a way of stopping this from happening?
 
R

Ron Rosenfeld

say i have 3 columns <ID> <Est Finish Date> and <Actual Finish Date> and I
want an extra column that tells me how many working days before or after the
estimated finish date the actual finish date is. I used Networkdays and it
gave me the number of days after the estimated date minus the weekends,
however when the actual date was before the estimated date the formula still
counted the weekends.

Does anyone know a way of stopping this from happening?

I cannot reproduce your problem using the information you've supplied.

Please give some examples with your

Actual DATA
Actual Formula
Actual Result
Expected Result
--ron
 
R

Rich/rerat

If you data is set up like this
Column A Column B Column C Column D
JobID Est Fin Date Fin Date Difference

Enter the following formula in D2, and drag it down Column D:
=IF($B2=$C2,0,IF($C2<$B2,NETWORKDAYS($B2,$C2)+1,NETWORKDAYS($B2,$C2)))

If you finish the job on time:
Column D=0
If you finish the job early:
Column D= (-)#of days
If you finish the job late:
Column D= (+)#of days

If you have a Holiday Table, in D2 use:
=IF($B2=$C2,0,IF($C2<$B2,NETWORKDAYS($B2,$C2,HolRange)+1,NETWORKDAYS($B2,$C2,HolRange)))

--
Add MS to your News Reader: news://msnews.microsoft.com
Rich/rerat
(RRR News) <message rule>
<<Previous Text Snipped to Save Bandwidth When Appropriate>>


say i have 3 columns <ID> <Est Finish Date> and <Actual Finish Date> and I
want an extra column that tells me how many working days before or after the
estimated finish date the actual finish date is. I used Networkdays and it
gave me the number of days after the estimated date minus the weekends,
however when the actual date was before the estimated date the formula still
counted the weekends.

Does anyone know a way of stopping this from happening?
 
R

Rich/rerat

VainDM,
You're Welcomed.

--
Add MS to your News Reader: news://msnews.microsoft.com
Rich/rerat
(RRR News) <message rule>
<<Previous Text Snipped to Save Bandwidth When Appropriate>>


Thank You for your reply it worked perfectly cheers
-VainDM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top