Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Monique
 
Posts: n/a
Default Excel Workday Function with another function

Is there a way to use workday function and also list the dates automatically?

i.e.

a1 = 5/1

b2= all working days until the last working day of the month. (Friday) I
have seen a formula that does this:
=if(a1="","",if(month(a1+1=month(a$1),a1+1,""))
but not with the workday function. It is not automatic and has to be dragged
over. I am not sure if this is possible, or I just don't know what order to
put them in.

I would like it to fill the working days automatically by entering the date
for one cell.


  #2   Report Post  
Posted to microsoft.public.excel.misc
paul
 
Posts: n/a
Default Excel Workday Function with another function

c1=a1,c2=IF(AND(MONTH(C1+1)=MONTH($A$1),WEEKDAY(C1 +1,2)=1,WEEKDAY(C1+1,2)<6),C1+1,C1+3)
its not quite working but gives a column of dates from monday to friday.Its
not supposed to list dates that arent in the same month but it does.....its
late I am going to bed.Hope this is what you are after
--
paul

remove nospam for email addy!



"Monique" wrote:

Is there a way to use workday function and also list the dates automatically?

i.e.

a1 = 5/1

b2= all working days until the last working day of the month. (Friday) I
have seen a formula that does this:
=if(a1="","",if(month(a1+1=month(a$1),a1+1,""))
but not with the workday function. It is not automatic and has to be dragged
over. I am not sure if this is possible, or I just don't know what order to
put them in.

I would like it to fill the working days automatically by entering the date
for one cell.


  #3   Report Post  
Posted to microsoft.public.excel.misc
Ron Rosenfeld
 
Posts: n/a
Default Excel Workday Function with another function

On Wed, 26 Apr 2006 14:05:02 -0700, Monique
wrote:

Is there a way to use workday function and also list the dates automatically?

i.e.

a1 = 5/1

b2= all working days until the last working day of the month. (Friday) I
have seen a formula that does this:
=if(a1="","",if(month(a1+1=month(a$1),a1+1,""))
but not with the workday function. It is not automatic and has to be dragged
over. I am not sure if this is possible, or I just don't know what order to
put them in.

I would like it to fill the working days automatically by entering the date
for one cell.


If you are entering the values in sequential columns (e.g. B2, C2, D2, etc),
then perhaps this will work:

=IF($A$1="","",IF(MONTH(workday($A$1,COLUMNS($B:B) ))
=MONTH($A$1),workday($A$1,COLUMNS($B:B)),""))

Enter in B2 and copy/drag to the right as far as required to include all days
in one month.


--ron
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
IS THERE AN INTERPOLATION FUNCTION IN EXCEL 2003 Cooper Excel Worksheet Functions 2 December 23rd 05 04:51 AM
How do i execute a VBA function by clicking on an excel cell? Matthew Excel Discussion (Misc queries) 1 December 7th 05 01:10 AM
Excel 2003 Slow Function Argument Window [email protected] Excel Discussion (Misc queries) 2 June 28th 05 06:53 PM
Excel option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM
Access Module coded converted to Excel Function Adam Excel Discussion (Misc queries) 1 December 23rd 04 02:48 PM


All times are GMT +1. The time now is 12:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"