Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default date add 5 workdays AND 6 calendar months

Is there a way I can add 5 working days AND 6 calendar months to a date in a
one cell function/formula?

basically I want =workday(A1,5,HolidayRange) = result A
resultA + 6 calendar months.


That is I have a date of 21 Feb 2007.
5 working days after this date is 28 Feb 2007 (if there are no holidays).
= 6 calendar months is 28 August 2007.

Can this be done using one cell ? Or do I need two, one for the workday
function, and one for the + 6 calendar month function?


--
Your assistance is appreciated.
Griffo

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default date add 5 workdays AND 6 calendar months

=DATE(YEAR(WORKDAY(A1,5,Holidays)),MONTH(WORKDAY(A 1,5,Holidays))+6,DAY(WORKDAY(A1,5,Holidays)))



--

Regards,

Peo Sjoblom





"GRIFFO" wrote in message
...
Is there a way I can add 5 working days AND 6 calendar months to a date in
a
one cell function/formula?

basically I want =workday(A1,5,HolidayRange) = result A
resultA + 6 calendar months.


That is I have a date of 21 Feb 2007.
5 working days after this date is 28 Feb 2007 (if there are no holidays).
= 6 calendar months is 28 August 2007.

Can this be done using one cell ? Or do I need two, one for the workday
function, and one for the + 6 calendar month function?


--
Your assistance is appreciated.
Griffo



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,510
Default date add 5 workdays AND 6 calendar months

Hi Griffo,

I am not clear on whether you want the entire formula in one cell with the
date embedded in the formula or whetrer you have a date in another cell and
want to use that date so here is both methods.

21 Feb 2007 in cell A1:-
=DATE(YEAR(WORKDAY(A1,5)),MONTH(WORKDAY(A1,5))+6,D AY(WORKDAY(A1,5)))

21 Feb 2007 embedded in the formula:-



"GRIFFO" wrote:

Is there a way I can add 5 working days AND 6 calendar months to a date in a
one cell function/formula?

basically I want =workday(A1,5,HolidayRange) = result A
resultA + 6 calendar months.


That is I have a date of 21 Feb 2007.
5 working days after this date is 28 Feb 2007 (if there are no holidays).
= 6 calendar months is 28 August 2007.

Can this be done using one cell ? Or do I need two, one for the workday
function, and one for the + 6 calendar month function?


--
Your assistance is appreciated.
Griffo

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,510
Default date add 5 workdays AND 6 calendar months

Hi again Griffo,

Something went wrong half way through my previous reply so here it is again:-

I am not clear on whether you want the entire formula in one cell with the
date embedded in the formula or whether you have a date in another cell and
want to use that date so here is both methods.

21 Feb 2007 in cell A1:-
=DATE(YEAR(WORKDAY(A1,5)),MONTH(WORKDAY(A1,5))+6,D AY(WORKDAY(A1,5)))

21 Feb 2007 embedded in the formula:-

=DATE(YEAR(WORKDAY("21 Feb 2007",5)),MONTH(WORKDAY("21 Feb
2007",5))+6,DAY(WORKDAY("21 Feb 2007",5)))

Note that these should be one line.

Regards,

OssieMac




"OssieMac" wrote:

Hi Griffo,

I am not clear on whether you want the entire formula in one cell with the
date embedded in the formula or whetrer you have a date in another cell and
want to use that date so here is both methods.

21 Feb 2007 in cell A1:-
=DATE(YEAR(WORKDAY(A1,5)),MONTH(WORKDAY(A1,5))+6,D AY(WORKDAY(A1,5)))

21 Feb 2007 embedded in the formula:-



"GRIFFO" wrote:

Is there a way I can add 5 working days AND 6 calendar months to a date in a
one cell function/formula?

basically I want =workday(A1,5,HolidayRange) = result A
resultA + 6 calendar months.


That is I have a date of 21 Feb 2007.
5 working days after this date is 28 Feb 2007 (if there are no holidays).
= 6 calendar months is 28 August 2007.

Can this be done using one cell ? Or do I need two, one for the workday
function, and one for the + 6 calendar month function?


--
Your assistance is appreciated.
Griffo

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default date add 5 workdays AND 6 calendar months

6 months after your result A is =DATE(YEAR(A),MONTH(A)+6,DAY(A)), and hence:
=DATE(YEAR(workday(A1,5,HolidayRange)),MONTH(workd ay(A1,5,HolidayRange))+6,DAY(workday(A1,5,HolidayR ange)))
Usual questions apply, such as what date you regard 6 months after 30th
August.
--
David Biddulph

"GRIFFO" wrote in message
...
Is there a way I can add 5 working days AND 6 calendar months to a date in
a
one cell function/formula?

basically I want =workday(A1,5,HolidayRange) = result A
resultA + 6 calendar months.


That is I have a date of 21 Feb 2007.
5 working days after this date is 28 Feb 2007 (if there are no holidays).
= 6 calendar months is 28 August 2007.

Can this be done using one cell ? Or do I need two, one for the workday
function, and one for the + 6 calendar month function?


--
Your assistance is appreciated.
Griffo





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default date add 5 workdays AND 6 calendar months

Many thanks.

--
Your assistance is appreciated.
Griffo



"GRIFFO" wrote:

Is there a way I can add 5 working days AND 6 calendar months to a date in a
one cell function/formula?

basically I want =workday(A1,5,HolidayRange) = result A
resultA + 6 calendar months.


That is I have a date of 21 Feb 2007.
5 working days after this date is 28 Feb 2007 (if there are no holidays).
= 6 calendar months is 28 August 2007.

Can this be done using one cell ? Or do I need two, one for the workday
function, and one for the + 6 calendar month function?


--
Your assistance is appreciated.
Griffo

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
Formula to Display Date n-Workdays from a Certain Date BHadds Excel Discussion (Misc queries) 4 June 13th 07 09:49 PM
Excel - Changing value of a date by a number of calendar months Sunny Excel Worksheet Functions 2 March 29th 06 09:46 AM
popup calendar with multiple months shawn Excel Discussion (Misc queries) 0 December 28th 05 02:55 AM
looking for ideas for calendar in sheet with separate months KR Excel Worksheet Functions 2 October 28th 05 03:34 PM
How do I create a calendar with the months I need? gottpd Excel Discussion (Misc queries) 1 October 5th 05 07:38 PM


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