Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Zen Zen is offline
external usenet poster
 
Posts: 16
Default CALCULATE DUE DATE & RESTART DATE

I need to calculate due after adding certain number of months and days to a
given date. A1 is having a date say 21-Jun-08, in A2 I will enter 12 months &
in A3 I will enter 1 day. In A4 I need calculated due date after 12 months &
1 day, which is 21-Jun-09.Then finally a calculated restart date in A6 after
a shutdown of 12 days, these 12 days will be entered in A5. XYZ company will
complete its operating period of 12M & 1D on 21-Jun-09 and will shut down on
22-Jun-09 to restart on 3-Jul-09 after 12 shutdown days.
It took me long to explain but I need this at my job. Any help will be
highly appreciate.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 74
Default CALCULATE DUE DATE & RESTART DATE

Zen,

Correct me if I am wrong but I think your due date will be 22-Jun-09.

Anyway, try this.

In A4, type =A1+((365/12)*A2)+A3
This should return a number. Go to Format Cells (Control+1) and change the
format to a date.

This should be 6/22/2009.

In A6, type =A4+A5. This will add your end date to your shut down time.

The result should be: 7/4/2009

Hope that helps.



"zen" wrote:

I need to calculate due after adding certain number of months and days to a
given date. A1 is having a date say 21-Jun-08, in A2 I will enter 12 months &
in A3 I will enter 1 day. In A4 I need calculated due date after 12 months &
1 day, which is 21-Jun-09.Then finally a calculated restart date in A6 after
a shutdown of 12 days, these 12 days will be entered in A5. XYZ company will
complete its operating period of 12M & 1D on 21-Jun-09 and will shut down on
22-Jun-09 to restart on 3-Jul-09 after 12 shutdown days.
It took me long to explain but I need this at my job. Any help will be
highly appreciate.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default CALCULATE DUE DATE & RESTART DATE

For this solution, you need the Analysis ToolPak installed. To make sure it
is installed, use:
Tools | Options | Add Ins
and make sure the box next to Analysis ToolPak is checked.

A1: Initial Date as 7/21/08
A2: Months as 12
A3: Days as 1
A4: Formula-- =EDATE(A1,A2)+A3
That will actually give you 7/22/09 in A4, not 7/21/09 as you indicated. If
you don't add the 1 day from A3 to it, it comes up with 7/21/09.
A5: shutdown days as 12
A6: Formula-- =A4+A5
which will give you 8/3/2008.

We seem to be 1 month off in the results, so you probably want to enter 11
into A2 instead of 12, that is time period in months minus 1 month. We could
actually adjust that in the formula at A4 as:
=EDATE(A1,A2-1)+A3
so that people could enter 12 'naturally' without having to do any
conversion in their heads.

HTH,
JLatham

"zen" wrote:

I need to calculate due after adding certain number of months and days to a
given date. A1 is having a date say 21-Jun-08, in A2 I will enter 12 months &
in A3 I will enter 1 day. In A4 I need calculated due date after 12 months &
1 day, which is 21-Jun-09.Then finally a calculated restart date in A6 after
a shutdown of 12 days, these 12 days will be entered in A5. XYZ company will
complete its operating period of 12M & 1D on 21-Jun-09 and will shut down on
22-Jun-09 to restart on 3-Jul-09 after 12 shutdown days.
It took me long to explain but I need this at my job. Any help will be
highly appreciate.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default CALCULATE DUE DATE & RESTART DATE

Oops, my bad - no adjustment needed as I'd entered JULY 21 08 as the start
date, not JUNE 21. So original formula is good in A4.

"zen" wrote:

I need to calculate due after adding certain number of months and days to a
given date. A1 is having a date say 21-Jun-08, in A2 I will enter 12 months &
in A3 I will enter 1 day. In A4 I need calculated due date after 12 months &
1 day, which is 21-Jun-09.Then finally a calculated restart date in A6 after
a shutdown of 12 days, these 12 days will be entered in A5. XYZ company will
complete its operating period of 12M & 1D on 21-Jun-09 and will shut down on
22-Jun-09 to restart on 3-Jul-09 after 12 shutdown days.
It took me long to explain but I need this at my job. Any help will be
highly appreciate.

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
Tricky Date calculation: How to calculate a future date [email protected] Excel Discussion (Misc queries) 9 August 11th 06 04:24 AM
Auto calculate for date + days forward to yield new date John Sullivan Excel Worksheet Functions 1 April 22nd 06 05:18 PM
formula to calculate age using birth date and current date lalah Excel Worksheet Functions 2 November 20th 05 10:51 PM
formula to calculate future date from date in cell plus days Chicesq Excel Worksheet Functions 8 November 3rd 05 12:25 PM
Calculate month-end date from date in adjacent cell? Matt D Francis Excel Worksheet Functions 4 May 19th 05 04:55 AM


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