Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Casey
 
Posts: n/a
Default Subtract number of Working Days


Hi,
I have a single cell named range into which, goes an integer
representing a number of weekdays. This number is subtracted from a
column of dates (Data Validation prevents entry of a weekend date in
this column) to hopefully produce another weekday in another column.
Something like:

old weekday date - named range integer =new weekday date

I would like to avoid the Workday function simply because I share this
file with different people that are constantly changing and it is a
pain to attach instructions for installing the Analysis Tool Pak.

Anyone have a brilliant solution? Many thanks in advance.


--
Casey


------------------------------------------------------------------------
Casey's Profile: http://www.excelforum.com/member.php...fo&userid=4545
View this thread: http://www.excelforum.com/showthread...hreadid=397219

  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

As long as you don't need to worry about holidays, this should work:

Assume A1 contains the old weekday date. Then

=A1 - range - 2*INT(range/5)


In article ,
Casey wrote:

Hi,
I have a single cell named range into which, goes an integer
representing a number of weekdays. This number is subtracted from a
column of dates (Data Validation prevents entry of a weekend date in
this column) to hopefully produce another weekday in another column.
Something like:

old weekday date - named range integer =new weekday date

I would like to avoid the Workday function simply because I share this
file with different people that are constantly changing and it is a
pain to attach instructions for installing the Analysis Tool Pak.

Anyone have a brilliant solution? Many thanks in advance.

  #3   Report Post  
Casey
 
Posts: n/a
Default


JE,
Brilliant! I will have to study how this works to understand it, but
work it does.
I have worksheets that only I use that are set up with holiday list
and use the Workday function, but this one is used by everybody. Many
thanks for the help.


--
Casey


------------------------------------------------------------------------
Casey's Profile: http://www.excelforum.com/member.php...fo&userid=4545
View this thread: http://www.excelforum.com/showthread...hreadid=397219

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
Function to calculate the number of years, months and days between Vicky Excel Worksheet Functions 2 July 15th 05 04:27 AM
Number of days since a date Jim M New Users to Excel 2 June 28th 05 12:30 AM
How to Add 5 working days Trying2Learn Excel Discussion (Misc queries) 1 June 20th 05 12:52 PM
How can I subtract 111 from a number like 097 and get 987, using . Viper5963 Excel Worksheet Functions 6 November 8th 04 07:13 PM
Date Difference On Working Days iwgunter Excel Worksheet Functions 2 November 8th 04 06:10 PM


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