Workday Formula Error Messages

nhbartos

Board Regular
Joined
May 23, 2015
Messages
148
Hi folks...

I am using the following formula to perform a basic calculation, but I am getting a formula error message.

=workday(D7,D11,'0 DO NOT EDIT 2'!A3:A97)

D7 remains blank until needed.
I have this same calculation on 100 different client data tabs, and each has this error.
I only use it one to begin my timeline. Once that is complete, it is wiped and I start again.

Error messages:

There is a problem with a number used in this formula.
The next evaluation will result in an error.

I am thinking the error is only because it D7 is empty, correct?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

RudiS

Active Member
Joined
May 7, 2015
Messages
349
Does any of your references contain any text and text versions of dates or numbers? This would result in a #VALUE! output.
 

ukmikeb

Well-known Member
Joined
Jul 10, 2009
Messages
2,757
Hi

This extract from the Excel reference should answer your question -

WORKDAY(start_date, days, [holidays])

The WORKDAY function syntax has the following arguments:

Start_date Required. A date that represents the start date.


Days Required. The number of nonweekend and nonholiday days before or after start_date. A positive value for days yields a future date; a negative value yields a past date.


Holidays Optional. An optional list of one or more dates to exclude from the working calendar, such as state and federal holidays and floating holidays. The list can be either a range of cells that contain the dates or an array constant of the serial numbers that represent the dates.


Important Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008. Problems can occur if dates are entered as text.

Remarks

Microsoft Excel stores dates as sequential serial numbers so they can be used in calculations. By default, January 1, 1900 is serial number 1, and January 1, 2008 is serial number 39448 because it is 39,448 days after January 1, 1900.


If any argument is not a valid date, WORKDAY returns the #VALUE! error value.


If start_date plus days yields an invalid date, WORKDAY returns the #NUM! error value.


If days is not an integer, it is truncated.

hth
 

Watch MrExcel Video

Forum statistics

Threads
1,129,593
Messages
5,637,294
Members
416,963
Latest member
zazama

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top