#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default "=WORKDAY" PROBLEM

$Q$4 = FIRST CALENDAR DAY OF MONTH
$BW$10:$BW$18 = HOLIDAYS

Using the formula:
=WORKDAY($Q$4,1,$BW$10:$BW$18)
I get the first workday of each month, excluding holidays, for some months,
but for others, it's moving ahead one more workday.

What the heck am i doin' wrong?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default "=WORKDAY" PROBLEM

Change the 1 to a 0.


"Gator Girl" wrote in message
...
$Q$4 = FIRST CALENDAR DAY OF MONTH
$BW$10:$BW$18 = HOLIDAYS

Using the formula:
=WORKDAY($Q$4,1,$BW$10:$BW$18)
I get the first workday of each month, excluding holidays, for some
months,
but for others, it's moving ahead one more workday.

What the heck am i doin' wrong?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default "=WORKDAY" PROBLEM

Thanks, but I already tried that, then other months don't come up correctly.
Isn't there a formula that will work first time, every time?

"Castell" wrote:

Change the 1 to a 0.


"Gator Girl" wrote in message
...
$Q$4 = FIRST CALENDAR DAY OF MONTH
$BW$10:$BW$18 = HOLIDAYS

Using the formula:
=WORKDAY($Q$4,1,$BW$10:$BW$18)
I get the first workday of each month, excluding holidays, for some
months,
but for others, it's moving ahead one more workday.

What the heck am i doin' wrong?


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default "=WORKDAY" PROBLEM

Changing the 1 to a 0 fixes the broken months, but it makes other months have
the wrong start date. Isn't there a formula which will work first time,
every time?

"Castell" wrote:

Change the 1 to a 0.


"Gator Girl" wrote in message
...
$Q$4 = FIRST CALENDAR DAY OF MONTH
$BW$10:$BW$18 = HOLIDAYS

Using the formula:
=WORKDAY($Q$4,1,$BW$10:$BW$18)
I get the first workday of each month, excluding holidays, for some
months,
but for others, it's moving ahead one more workday.

What the heck am i doin' wrong?


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 353
Default "=WORKDAY" PROBLEM

It's the 1 in your second argument... you're asking for the first workday
after the given day, so if the first of the month is the first workday,
you're getting the second instead.
=WORKDAY($Q$4-1,1,$BW$10:$BW$18)
should fix it.

"Gator Girl" wrote:

$Q$4 = FIRST CALENDAR DAY OF MONTH
$BW$10:$BW$18 = HOLIDAYS

Using the formula:
=WORKDAY($Q$4,1,$BW$10:$BW$18)
I get the first workday of each month, excluding holidays, for some months,
but for others, it's moving ahead one more workday.

What the heck am i doin' wrong?



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default "=WORKDAY" PROBLEM

It worked! Thank you, Boni!
PS Haven't gotten the hand of this posting stuff yet, I thought nobody saw
my post that you responded to - so I posted it again. Please ignore it, and
thank you again.

"BoniM" wrote:

It's the 1 in your second argument... you're asking for the first workday
after the given day, so if the first of the month is the first workday,
you're getting the second instead.
=WORKDAY($Q$4-1,1,$BW$10:$BW$18)
should fix it.

"Gator Girl" wrote:

$Q$4 = FIRST CALENDAR DAY OF MONTH
$BW$10:$BW$18 = HOLIDAYS

Using the formula:
=WORKDAY($Q$4,1,$BW$10:$BW$18)
I get the first workday of each month, excluding holidays, for some months,
but for others, it's moving ahead one more workday.

What the heck am i doin' wrong?

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 353
Default "=WORKDAY" PROBLEM

You're welcome, happy I could help!

"Gator Girl" wrote:

It worked! Thank you, Boni!
PS Haven't gotten the hand of this posting stuff yet, I thought nobody saw
my post that you responded to - so I posted it again. Please ignore it, and
thank you again.

"BoniM" wrote:

It's the 1 in your second argument... you're asking for the first workday
after the given day, so if the first of the month is the first workday,
you're getting the second instead.
=WORKDAY($Q$4-1,1,$BW$10:$BW$18)
should fix it.

"Gator Girl" wrote:

$Q$4 = FIRST CALENDAR DAY OF MONTH
$BW$10:$BW$18 = HOLIDAYS

Using the formula:
=WORKDAY($Q$4,1,$BW$10:$BW$18)
I get the first workday of each month, excluding holidays, for some months,
but for others, it's moving ahead one more workday.

What the heck am i doin' wrong?

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
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
problem with Linking workbooks via "copy" and "paste link" Arkitek Excel Discussion (Misc queries) 0 December 19th 06 10:03 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
Complex if test program possible? If "value" "value", paste "value" in another cell? jseabold Excel Discussion (Misc queries) 1 January 30th 06 10:01 PM


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