Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Excel problem :(

Dear all,

I have following problem with excel. I have date for example 12-04-2006
and i need to do next dates.
I know that the date will be 3 mounth later ( this same day )
12-07-2006 and 12-10-2006 and 12-01-2007 etc etc. How to generate this
dates becouse this is very difficult to include by hand ( i have 12,5
thausend records ) and transactions for 10 years. ( 40 dates for one
record )

:((((


Thank you for your help


Best regards
Jarek Krolikowski

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default Excel problem :(

Use the DateAdd function:

newDate = DateAdd("m", 3, oldDate)

This adds three months to oldDate and assigns it to newDate.

Regards,
Steve

kicek schrieb:

Dear all,

I have following problem with excel. I have date for example 12-04-2006
and i need to do next dates.
I know that the date will be 3 mounth later ( this same day )
12-07-2006 and 12-10-2006 and 12-01-2007 etc etc. How to generate this
dates becouse this is very difficult to include by hand ( i have 12,5
thausend records ) and transactions for 10 years. ( 40 dates for one
record )

:((((


Thank you for your help


Best regards
Jarek Krolikowski


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Excel problem :(

One way:

A1: 12-04-2006
A2: =DATE(YEAR(A1),MONTH(A1)+3,DAY(A1))

In article .com,
"kicek" wrote:

I have following problem with excel. I have date for example 12-04-2006
and i need to do next dates.
I know that the date will be 3 mounth later ( this same day )
12-07-2006 and 12-10-2006 and 12-01-2007 etc etc. How to generate this
dates becouse this is very difficult to include by hand ( i have 12,5
thausend records ) and transactions for 10 years. ( 40 dates for one
record )

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Excel problem :(


Thank You very much


JE McGimpsey napisal(a):
One way:

A1: 12-04-2006
A2: =DATE(YEAR(A1),MONTH(A1)+3,DAY(A1))


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
Colon at the end of excel file name(ex: problem.xls:1, problem.xls financeguy New Users to Excel 2 January 15th 10 01:15 AM
Problem viewing Excel 2003 Pivot Chart fields in Excel 2007 ronny B Charts and Charting in Excel 1 October 24th 08 10:08 PM
Weird problem with Excel 2000...Worksheets disappearing in a shared Excel file BrianL_SF Excel Discussion (Misc queries) 2 October 10th 06 08:27 PM
Weird problem with Excel 2000...Worksheets disappearing in a shared Excel file BrianL_SF Excel Programming 6 October 7th 06 08:54 AM
Started out as an Access problem. Now an Excel problem RobertM Excel Discussion (Misc queries) 2 April 26th 06 07:30 PM


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