#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
AJ AJ is offline
external usenet poster
 
Posts: 99
Default Date Function

Hello Everyone
I am trying to find a formula that will convert the date in column A to the
1st day of the following month in column B. The formula should be in column B
For example:
Column A Column B
1-Jan-07 1-Feb-07
15-Jan-07 1-Feb-07
31-Jan-07 1-Feb-07
15-Aug-07 1-Sep-07
31-Dec-07 1-Jan-08 and so on.

TIA for any suggestions on a formula.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Date Function

Try this:

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

HTH,
Elkar


"AJ" wrote:

Hello Everyone
I am trying to find a formula that will convert the date in column A to the
1st day of the following month in column B. The formula should be in column B
For example:
Column A Column B
1-Jan-07 1-Feb-07
15-Jan-07 1-Feb-07
31-Jan-07 1-Feb-07
15-Aug-07 1-Sep-07
31-Dec-07 1-Jan-08 and so on.

TIA for any suggestions on a formula.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Date Function

One way:

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

In article ,
AJ wrote:

Hello Everyone
I am trying to find a formula that will convert the date in column A to the
1st day of the following month in column B. The formula should be in column B
For example:
Column A Column B
1-Jan-07 1-Feb-07
15-Jan-07 1-Feb-07
31-Jan-07 1-Feb-07
15-Aug-07 1-Sep-07
31-Dec-07 1-Jan-08 and so on.

TIA for any suggestions on a formula.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 150
Default Date Function

Try...

B2, copied down:

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

Hope this helps!

In article ,
AJ wrote:

Hello Everyone
I am trying to find a formula that will convert the date in column A to the
1st day of the following month in column B. The formula should be in column B
For example:
Column A Column B
1-Jan-07 1-Feb-07
15-Jan-07 1-Feb-07
31-Jan-07 1-Feb-07
15-Aug-07 1-Sep-07
31-Dec-07 1-Jan-08 and so on.

TIA for any suggestions on a formula.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default Date Function

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


"AJ" wrote in message
...
Hello Everyone
I am trying to find a formula that will convert the date in column A to
the
1st day of the following month in column B. The formula should be in
column B
For example:
Column A Column B
1-Jan-07 1-Feb-07
15-Jan-07 1-Feb-07
31-Jan-07 1-Feb-07
15-Aug-07 1-Sep-07
31-Dec-07 1-Jan-08 and so on.

TIA for any suggestions on a formula.





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Date Function

On Mon, 22 Oct 2007 14:58:01 -0700, AJ wrote:

Hello Everyone
I am trying to find a formula that will convert the date in column A to the
1st day of the following month in column B. The formula should be in column B
For example:
Column A Column B
1-Jan-07 1-Feb-07
15-Jan-07 1-Feb-07
31-Jan-07 1-Feb-07
15-Aug-07 1-Sep-07
31-Dec-07 1-Jan-08 and so on.

TIA for any suggestions on a formula.


A slightly different solution than others have written:

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


--ron
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 function in ACCRINTM requires date format not available Pev Excel Worksheet Functions 4 October 13th 07 12:20 PM
MAX figure within a date range as a function of today()'s date irvine79 Excel Worksheet Functions 6 February 20th 07 03:28 PM
SUMIF within date range as a function of today()'s date irvine79 Excel Worksheet Functions 8 August 6th 06 05:55 PM
Date Function formula that will return the date of a specific week Greg Excel Worksheet Functions 4 June 12th 06 05:07 PM
Calculating days between current date and a date in future NETWORKDAYS() function Faheem Khan Excel Worksheet Functions 2 February 10th 05 07:18 PM


All times are GMT +1. The time now is 07:48 AM.

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"