ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Date Function (https://www.excelbanter.com/excel-discussion-misc-queries/105102-date-function.html)

Woody13

Date Function
 
I'm trying to find a formula that will take a date and give a result of the
beggining of the next month. So if the cell has 8/15/2006, the forumula
returns 9/1/2006. If the cell has 8/25/2006, the cell returns 9/1/2006. Any
help is appreciated

Toppers

Date Function
 
With date in A1:

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

"Woody13" wrote:

I'm trying to find a formula that will take a date and give a result of the
beggining of the next month. So if the cell has 8/15/2006, the forumula
returns 9/1/2006. If the cell has 8/25/2006, the cell returns 9/1/2006. Any
help is appreciated


Woody13

Date Function
 
Thanks. I also used =+EOMONTH(B4,0)+1

"Toppers" wrote:

With date in A1:

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

"Woody13" wrote:

I'm trying to find a formula that will take a date and give a result of the
beggining of the next month. So if the cell has 8/15/2006, the forumula
returns 9/1/2006. If the cell has 8/25/2006, the cell returns 9/1/2006. Any
help is appreciated


Ron Rosenfeld

Date Function
 
On Tue, 15 Aug 2006 11:34:02 -0700, Woody13
wrote:

I'm trying to find a formula that will take a date and give a result of the
beggining of the next month. So if the cell has 8/15/2006, the forumula
returns 9/1/2006. If the cell has 8/25/2006, the cell returns 9/1/2006. Any
help is appreciated


If you don't want to use the Analysis Tool Pak:

=A1-DAY(A1)+33-DAY(A1-DAY(A1)+32)


--ron


All times are GMT +1. The time now is 03:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com