Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 113
Default Date plus 1 year, but begin of month

Hi Everyone,

I have the formula below to give me date plus 1 year, however I want to have
this stated as the 1st of the month.

Ex) D18= Dec 21/05, then result now is Dec 21/06, I want Dec 1/06.

=MIN(DATE(YEAR(D18)+1,MONTH(D18)+{0,1},DAY(D18)*{1 ,0}))

Also - does anyone have a resource in which I can learn about the purpose of
the {} in the above formula, I just copied it from this site and haven't
found any information as to why/how it works.

Thanks in advance!
~Jessica
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Date plus 1 year, but begin of month

You don't need the array constants in your formula

=DATE(YEAR(D18)+1,MONTH(D18),1)

--
HTH

Bob Phillips

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

"Jessica" wrote in message
...
Hi Everyone,

I have the formula below to give me date plus 1 year, however I want to

have
this stated as the 1st of the month.

Ex) D18= Dec 21/05, then result now is Dec 21/06, I want Dec 1/06.

=MIN(DATE(YEAR(D18)+1,MONTH(D18)+{0,1},DAY(D18)*{1 ,0}))

Also - does anyone have a resource in which I can learn about the purpose

of
the {} in the above formula, I just copied it from this site and haven't
found any information as to why/how it works.

Thanks in advance!
~Jessica



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
Mileage Claim Formula johndavies New Users to Excel 4 August 14th 06 09:24 AM
Date arithmetic: adding 1 month to prior end of month date manxman Excel Worksheet Functions 2 July 14th 06 09:29 PM
how to insert month date year and day of week Sachi Noma Excel Worksheet Functions 3 May 19th 06 03:03 AM
Format date with just month and year Jay3253 Excel Discussion (Misc queries) 6 February 2nd 06 07:17 PM
counting date entries by month & year Di Excel Worksheet Functions 7 August 24th 05 08:39 PM


All times are GMT +1. The time now is 10:50 PM.

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"