Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Using Networkdays with negative numbers

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?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Using Networkdays with negative numbers

On Fri, 24 Jul 2009 04:36:01 -0700, VainDM
wrote:

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
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 39
Default Using Networkdays with negative numbers

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,NE TWORKDAYS($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,HolRa nge)+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


"VainDM" wrote in message
...
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?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Using Networkdays with negative numbers

Thank You for your reply it worked perfectly cheers
-VainDM

"Rich/rerat" wrote:

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,NE TWORKDAYS($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,HolRa nge)+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


"VainDM" wrote in message
...
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?




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 39
Default Using Networkdays with negative numbers

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


"VainDM" wrote in message
...
Thank You for your reply it worked perfectly cheers
-VainDM

"Rich/rerat" wrote:

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,NE TWORKDAYS($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,HolRa nge)+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


"VainDM" wrote in message
...
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?






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting networkdays with negative number Miranda Excel Worksheet Functions 1 February 9th 07 02:16 PM
Excel 2002 : Convert Positive Numbers to Negative Numbers ? Mr. Low Excel Discussion (Misc queries) 2 November 6th 06 03:30 PM
Set negative numbers to zero. Do not calculate with negative valu Excel Headache Excel Discussion (Misc queries) 4 September 14th 06 08:56 PM
change 2000 cells (negative numbers) into positive numbers lisbern Excel Worksheet Functions 2 August 16th 06 05:54 PM
Excel Formula - Add column of numbers but ignore negative numbers view for Distribution List members Excel Worksheet Functions 1 April 7th 06 03:13 AM


All times are GMT +1. The time now is 10:19 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"