Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Syntax for Excel 2003 instead of 2007

Posted on 2011-04-22
Medium Priority
Last Modified: 2013-11-05
I have this in a cell using Office 2007 but it doesn't work for users with 2003.  Can someone suggest a change so it will work with 2003?  (Holidays is a named range on the spreadsheet)

=WORKDAY(H4, -1, Holidays)

Question by:SteveL13
  • 2
LVL 81

Accepted Solution

zorvek (Kevin Jones) earned 2000 total points
ID: 35450410
That function is in Excel 2003. It requires the Analysis ToolPak. To enable the Analysis ToolPak, choose the menu command Tools->Add-Ins, check on Analysis ToolPak, and click OK.

LVL 81

Expert Comment

by:zorvek (Kevin Jones)
ID: 35450454
You will find here a formula that you can use instead of WORKDAY:

Title: Replacing the Analysis Toolpak Addin - Part 2
Link: http://www.dicks-blog.com/archives/2004/12/19/replacing-the-analysis-toolpak-addin-part-2/

Once you look at it though I think you will agree it is probably better to just add the Analysis Toolpak.

LVL 50

Expert Comment

by:barry houdini
ID: 35450690
If you always want the previous workday then you can make that a bit simpler, i.e. using this formula


That assumes that you never have more then 5 successive non-working days (either holidays or weekends)

regards, barry

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a serious pitfall that can happen when deleting shapes using VBA.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question