WORKDAY resulting in #VALUE error

J

Joseph

Hi,

Im using the below formula:

=WORKDAY(DATE(YEAR(C6),MONTH(C6),DAY(C6)),5,Holiday)

where C6 = 4/24/2008 in mm/dd/yyyy format and Holiday is a named range with
a list of holidays.

Im getting a #VALUE error. Pls help me to fix this problem.

The forumla works if I give 0, instead of 5 in the above formula...


TIA
- Joseph
 
L

Lars-Åke Aspelin

Hi,

Im using the below formula:

=WORKDAY(DATE(YEAR(C6),MONTH(C6),DAY(C6)),5,Holiday)

where C6 = 4/24/2008 in mm/dd/yyyy format and Holiday is a named range with
a list of holidays.

Im getting a #VALUE error. Pls help me to fix this problem.

The forumla works if I give 0, instead of 5 in the above formula...


TIA
- Joseph

I guess that one or more of the cells in the Holiday range is non
numeric, e.g. you may have put some text or just a blank there by
mistake. Have a check.

Lars-Åke
 
J

Joseph

Hi,

I checked that too....all the values in the range are dates ...

Analysis tool pack is also included....

- Joseph
 
J

Joseph

Hi,

I checked again and found that I left the header ("Holiday") also in the
list. I removed that and the formula is working!

Thanks a lot!

- Joseph
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top