Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Rounding a date up to the 1st of the next month

I have a date in A1, but I need to populate A2 with the first day of the
following month. Example: A1 = 05/17/08, A2=06/01/08

What formula would best work to accomplish this? I'm guessing this would be
easy, but I can't get anything to work.

Thank you in advance for any assistance.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default Rounding a date up to the 1st of the next month

If you have the Analysis ToolPak add-in installed:
A2: =EOMONTH(A1,0)+1

If you don't....
A2: =DATE(YEAR(A1),MONTH(A1)+1,0)+1

Does that help?
Post back if you have more questions.
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"hurds999" wrote in message
...
I have a date in A1, but I need to populate A2 with the first day of the
following month. Example: A1 = 05/17/08, A2=06/01/08

What formula would best work to accomplish this? I'm guessing this would
be
easy, but I can't get anything to work.

Thank you in advance for any assistance.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Rounding a date up to the 1st of the next month

Thank you both very very much. The formula(s) worked!! You're both very
awesome!!! Have a great Wednesday, because you've made mine!!! =)


"Ron Coderre" wrote:

If you have the Analysis ToolPak add-in installed:
A2: =EOMONTH(A1,0)+1

If you don't....
A2: =DATE(YEAR(A1),MONTH(A1)+1,0)+1

Does that help?
Post back if you have more questions.
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"hurds999" wrote in message
...
I have a date in A1, but I need to populate A2 with the first day of the
following month. Example: A1 = 05/17/08, A2=06/01/08

What formula would best work to accomplish this? I'm guessing this would
be
easy, but I can't get anything to work.

Thank you in advance for any assistance.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default Rounding a date up to the 1st of the next month

You're very welcome.

Regards,

Ron
Microsoft MVP (Excel)
"hurds999" wrote in message
...
Thank you both very very much. The formula(s) worked!! You're both very
awesome!!! Have a great Wednesday, because you've made mine!!! =)


"Ron Coderre" wrote:

If you have the Analysis ToolPak add-in installed:
A2: =EOMONTH(A1,0)+1

If you don't....
A2: =DATE(YEAR(A1),MONTH(A1)+1,0)+1

Does that help?
Post back if you have more questions.
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"hurds999" wrote in message
...
I have a date in A1, but I need to populate A2 with the first day of the
following month. Example: A1 = 05/17/08, A2=06/01/08

What formula would best work to accomplish this? I'm guessing this
would
be
easy, but I can't get anything to work.

Thank you in advance for any assistance.






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Rounding a date up to the 1st of the next month

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

--
Gary''s Student - gsnu200777


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
Date arithmetic: adding 1 month to prior end of month date manxman Excel Worksheet Functions 2 July 14th 06 09:29 PM
Sort month/date/year data using month and date only SMW820 Excel Discussion (Misc queries) 6 June 22nd 06 05:14 PM
rounding off month Bob Phillips Excel Worksheet Functions 2 October 25th 05 01:51 PM


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