Prev Previous Post   Next Post Next
  #4   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Sun, 11 Sep 2005 14:26:18 -0500, Heckstein
wrote:


Hi!

Could you please help me with date formula.

I need to enter 2 days before but it must be a weekday.
e.g 12 Sep 2005 must show 9 Sep 2005 and also 13 Sep 2005 must show 9
Sep 2005.

What I have is NOW()-2 , but it shows 10 Sep 2005 which is wrong.


=WORKDAY(TODAY()-1,-1)

Note that with this function, you can optionally add a list of Holidays.


If the WORKDAY function is not available, and returns the #NAME? error, install
and load the Analysis ToolPak add-in.

On the Tools menu, click Add-Ins.
In the Add-Ins available list, select the Analysis ToolPak box, and then click
OK.
If necessary, follow the instructions in the setup program.

--ron
 
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
How do I create a schedule from a list of dates ? Gavin Morris Charts and Charting in Excel 2 October 28th 10 04:08 PM
search for latest date Sue Excel Worksheet Functions 2 August 2nd 05 11:09 PM
Subtracting weekdays from a date: Richard Excel Worksheet Functions 4 May 11th 05 02:44 AM
count weekdays in a date range benb Excel Worksheet Functions 1 January 13th 05 02:49 PM
Date exclude weekdays LukePW New Users to Excel 9 December 20th 04 05:00 PM


All times are GMT +1. The time now is 05:52 PM.

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"