Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default Network days - Returns error sometimes.

Hi,

I'm using the beow mentioned formula to calculate the NUMBER-OF-WORKING-DAYS
in the month,@5 day work week(Mon-Fri).

=NETWORKDAYS(EOMONTH(D2,-1)+1,EOMONTH(D2,0))
Where 'D2' is '=now()' to calculate current date.

This formula calculates the PRESENT-WORKING-DAY in the month (assuming 5 day
week Monday - Friday and D2 is now() i.e. present day)).
=NETWORKDAYS(DATE(YEAR(D2),MONTH(D2),1),D2)

My Question ?
Both these formulas work on some PCs and not on others ('Name' error shows).
Could this be the excel version or the addins not being on some PCs?

Does anyone have a solution?

Thx,
Matt.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 320
Default Network days - Returns error sometimes.

The Analysis Toolpak Addin must be loaded (tools/Add-ins) for these to work
properly.
Bob Umlas
Excel MVP

"Matts" wrote:

Hi,

I'm using the beow mentioned formula to calculate the NUMBER-OF-WORKING-DAYS
in the month,@5 day work week(Mon-Fri).

=NETWORKDAYS(EOMONTH(D2,-1)+1,EOMONTH(D2,0))
Where 'D2' is '=now()' to calculate current date.

This formula calculates the PRESENT-WORKING-DAY in the month (assuming 5 day
week Monday - Friday and D2 is now() i.e. present day)).
=NETWORKDAYS(DATE(YEAR(D2),MONTH(D2),1),D2)

My Question ?
Both these formulas work on some PCs and not on others ('Name' error shows).
Could this be the excel version or the addins not being on some PCs?

Does anyone have a solution?

Thx,
Matt.

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
IF statement and Network days Kim Excel Discussion (Misc queries) 2 February 15th 07 11:54 PM
Network Days dinadvani via OfficeKB.com Excel Discussion (Misc queries) 3 July 21st 06 11:05 AM
Network days question Annette Excel Worksheet Functions 2 June 29th 06 04:18 PM
Saving error on network ryanlcs Excel Discussion (Misc queries) 1 December 23rd 05 01:08 PM
Web query returns no result from internal network Harry C. Excel Discussion (Misc queries) 1 April 27th 05 10:51 PM


All times are GMT +1. The time now is 02:18 AM.

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

About Us

"It's about Microsoft Excel"