Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
dannyboy213
 
Posts: n/a
Default Businessday (Networkday) Function


Is there an equivalent formula for the NETWORKDAY function without
having to install the add-in "Analysis ToolPak"?
I am trying to create a function where it tells me day the last
businessday.
Example: Let's say today is Monday and the date is 1/30/06 and I want
on the next cell to figure out that the last business date was 1/27/06.
The problem is, I don't want to use the "Analysis Toolpak".


--
dannyboy213
------------------------------------------------------------------------
dannyboy213's Profile: http://www.excelforum.com/member.php...o&userid=31032
View this thread: http://www.excelforum.com/showthread...hreadid=507351

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Businessday (Networkday) Function

=A1-1-(WEEKDAY(A1)=2)*2

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"dannyboy213"
wrote in message
...

Is there an equivalent formula for the NETWORKDAY function without
having to install the add-in "Analysis ToolPak"?
I am trying to create a function where it tells me day the last
businessday.
Example: Let's say today is Monday and the date is 1/30/06 and I want
on the next cell to figure out that the last business date was 1/27/06.
The problem is, I don't want to use the "Analysis Toolpak".


--
dannyboy213
------------------------------------------------------------------------
dannyboy213's Profile:

http://www.excelforum.com/member.php...o&userid=31032
View this thread: http://www.excelforum.com/showthread...hreadid=507351



  #3   Report Post  
Posted to microsoft.public.excel.misc
SteveG
 
Posts: n/a
Default Businessday (Networkday) Function


If you consider a business day any weekday from Monday - Friday
regardless of holidays, I am pretty sure the WEEKDAY function is a
standard function. I came up with,

=IF(WEEKDAY(A1,2)=1,A1-3,IF(WEEKDAY(A1,2)=7,A1-2,A1-1))

Your date is in A1. This looks to see if the date is a Monday and if
so, subtracts 3 days from it, if a sunday, subtracts 2 days all other
subtract 1 day.

Does that help?

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=507351

  #4   Report Post  
Posted to microsoft.public.excel.misc
dannyboy213
 
Posts: n/a
Default Businessday (Networkday) Function


It works! Thank you very Much Bob.


--
dannyboy213
------------------------------------------------------------------------
dannyboy213's Profile: http://www.excelforum.com/member.php...o&userid=31032
View this thread: http://www.excelforum.com/showthread...hreadid=507351

  #5   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Businessday (Networkday) Function

It's a pleasure.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"dannyboy213"
wrote in message
...

It works! Thank you very Much Bob.


--
dannyboy213
------------------------------------------------------------------------
dannyboy213's Profile:

http://www.excelforum.com/member.php...o&userid=31032
View this thread: http://www.excelforum.com/showthread...hreadid=507351



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
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Hyperlinks using R[1]C[1] and offset function in its cell referenc Elijah-Dadda Excel Worksheet Functions 0 March 5th 05 03:31 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
Formula to list unique values JaneC Excel Worksheet Functions 4 December 10th 04 12:25 AM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


All times are GMT +1. The time now is 09:21 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"