Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
vezerid
 
Posts: n/a
Default Auto update daily report problem

Steve,

Glad to know it is working. I am addressing your musing if there could
be a more efficient way.

It seems to me you want to produce the valid working dates in column
A:A. Your formula seems to suspect you might get an error using workday
(why? - I don't see a plausible reason) and then produce a sequence of
workdays IF it is April. My guess here is that you are supplying the
number every month to exclude days of the next month. If so, your test
could be

=IF(ISERROR(workday(A1,1,$J$5)),"",IF(MONTH(workda y(A1,1))<MONTH($A$1),"",workday(A1*,1,$J$5)))


Regarding your CHOOSE(), and not knowing your exact intentions, I can
suggest the following:

1. You can use VLOOKUP() inside the OFFSET function

=OFFSET(Sheet2!A1,0,VLOOKUP(TODAY(),A2:B24,2,FALSE ))

2. You can avoid the tabulation/vlookup function altogether using the
inverse function of WORKDAY, which is NETWORKDAYS. Thus you could have
something like

=OFFSET(Sheet2!A1,0,NETWORKDAYS(Sheet2!A1,TODAY(), $J$5))

But whether you choose either depends on your needs.

Regards

Kostis

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
Using "if" equation that requires auto update Boethius1 Excel Discussion (Misc queries) 2 February 6th 06 09:15 PM
auto update of copy of workbook Al Excel Worksheet Functions 0 December 14th 05 02:21 PM
update links - problem Micha³ S Excel Discussion (Misc queries) 1 February 18th 05 12:58 AM
Update Links - Problem Metallo Links and Linking in Excel 2 January 25th 05 04:42 PM
problem in retrieving data from excel report kanth Excel Discussion (Misc queries) 1 December 5th 04 07:28 PM


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