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

Dear All,
I would like to ask you for help with dates
I have date for example 31-01-2006 and i trying to add 3 months to each
followed date but i have results acordance to preeceding convention

Expected date should be 30-04-2006 but my date is 01-05-2006.
I would like to change the preceeding or following results depend on
other informations


Best regards
Jarek

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Date in Excel

=MIN(DATE(YEAR(A21),MONTH(A21)+{4,3},DAY(A21)*{0,1 }))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"kicek" wrote in message
ups.com...
Dear All,
I would like to ask you for help with dates
I have date for example 31-01-2006 and i trying to add 3 months to each
followed date but i have results acordance to preeceding convention

Expected date should be 30-04-2006 but my date is 01-05-2006.
I would like to change the preceeding or following results depend on
other informations


Best regards
Jarek



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Date in Excel

If you are always using the end of the month and your date to add to is in
Cell A1:
=eomonth({A1},3)

You may need to install an Excel Add-in "Analysis Toolpak" for the =eomonth
function to be availabe to you. Tools Add-ins
--
WebShoe


"kicek" wrote:

Dear All,
I would like to ask you for help with dates
I have date for example 31-01-2006 and i trying to add 3 months to each
followed date but i have results acordance to preeceding convention

Expected date should be 30-04-2006 but my date is 01-05-2006.
I would like to change the preceeding or following results depend on
other informations


Best regards
Jarek


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 lookup date on tab in excel and populate date on calen MGC Excel Worksheet Functions 0 February 4th 10 04:48 AM
Change satellite julian date format YYYYDDDHHMMSS to excel date ti putley Excel Discussion (Misc queries) 1 January 11th 08 06:12 PM
Excel Formula to calulate number of days passed from date to date K. Mack Excel Discussion (Misc queries) 8 January 4th 07 11:27 PM
Excel: I enter date and format for date, but shows as number spohar Excel Discussion (Misc queries) 2 March 10th 06 08:40 PM
Make date change in excel to current date when opening daily? jamie Excel Discussion (Misc queries) 3 March 1st 06 03:37 PM


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