#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default on going dates

I'm Looking to enter a date in one cell with a duration behind it so it comes
up in the other cell with new date. Example

3-2-07 - 90 day duration - 6-2-07
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 623
Default on going dates

It would be far easier to put the date and duration in separate cells.

If A1 has 3-2-07 and B1 has 90, to get the results you want is simply:

=a1+b1

If you insist on using a single cell, use a different delimiter than used in the
date. Then use the Find function to determine the position in the cell, and the
Left and Right functions to select the date and duration. Post back if you need
help on these.

--
Regards,
Fred


"MGennari" wrote in message
...
I'm Looking to enter a date in one cell with a duration behind it so it comes
up in the other cell with new date. Example

3-2-07 - 90 day duration - 6-2-07



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default on going dates



"Fred Smith" wrote:

It would be far easier to put the date and duration in separate cells.

If A1 has 3-2-07 and B1 has 90, to get the results you want is simply:

=a1+b1

If you insist on using a single cell, use a different delimiter than used in the
date. Then use the Find function to determine the position in the cell, and the
Left and Right functions to select the date and duration. Post back if you need
help on these.

--
Regards,
Fred


"MGennari" wrote in message
...
I'm Looking to enter a date in one cell with a duration behind it so it comes
up in the other cell with new date. Example

3-2-07 - 90 day duration - 6-2-07




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default on going dates

Your example is not using a 90 day duration.

3/2/2007 + 90days = 5/31/2007

It appears that you want the date plus 3 months:

A1 = 3/2/2007

=DATE(YEAR(A1),MONTH(A1)+3,DAY(A1))

Result = 6/2/2007

Biff

"MGennari" wrote in message
...
I'm Looking to enter a date in one cell with a duration behind it so it
comes
up in the other cell with new date. Example

3-2-07 - 90 day duration - 6-2-07



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default on going dates

yes thats it thanks T.Valko , can you maybe help alittle more
my friend along time ago made this work for me. he must hava had hided cells
cause all i would do is type in a date in one cell hit enter and the next
cell would show the results ie. new date i was able to put in any duration
from 15 days to 365 days Thanks so much again

"T. Valko" wrote:

Your example is not using a 90 day duration.

3/2/2007 + 90days = 5/31/2007

It appears that you want the date plus 3 months:

A1 = 3/2/2007

=DATE(YEAR(A1),MONTH(A1)+3,DAY(A1))

Result = 6/2/2007

Biff

"MGennari" wrote in message
...
I'm Looking to enter a date in one cell with a duration behind it so it
comes
up in the other cell with new date. Example

3-2-07 - 90 day duration - 6-2-07






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default on going dates

That's what this formula is doing:

=DATE(YEAR(A1),MONTH(A1)+3,DAY(A1))

You need to enter the formula in the cell where you want the result. If you
want to be able to change the duration then it's best to use another cell to
hold that. Also, you need to make up your mind as to the duration. Do want
to add months or days? In your first example it looked as though you wanted
months. This example will be for days.

A1 = some date
B1 = some duration
C1 = this formula (made a little more robust):

=IF(COUNT(A1:B1)<2,"",A1+B1)

Biff

"MGennari" wrote in message
...
yes thats it thanks T.Valko , can you maybe help alittle more
my friend along time ago made this work for me. he must hava had hided
cells
cause all i would do is type in a date in one cell hit enter and the next
cell would show the results ie. new date i was able to put in any
duration
from 15 days to 365 days Thanks so much again

"T. Valko" wrote:

Your example is not using a 90 day duration.

3/2/2007 + 90days = 5/31/2007

It appears that you want the date plus 3 months:

A1 = 3/2/2007

=DATE(YEAR(A1),MONTH(A1)+3,DAY(A1))

Result = 6/2/2007

Biff

"MGennari" wrote in message
...
I'm Looking to enter a date in one cell with a duration behind it so it
comes
up in the other cell with new date. Example

3-2-07 - 90 day duration - 6-2-07






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
Identifying unique dates in a range of cells containing dates... cdavidson Excel Discussion (Misc queries) 4 October 13th 06 03:30 PM
Identifying unique dates within a range of cells containing dates cdavidson Excel Discussion (Misc queries) 0 October 12th 06 08:19 PM
need to convert list of dates to count no. of dates by week neowok Excel Worksheet Functions 13 January 30th 06 03:54 PM
Calculating number of days between two dates that fall between two other dates [email protected] Excel Discussion (Misc queries) 5 October 26th 05 06:18 PM
Charting data against dates where dates are not at fixed intervals PK Charts and Charting in Excel 4 June 16th 05 05:08 AM


All times are GMT +1. The time now is 05:31 AM.

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"