Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JS1
 
Posts: n/a
Default Help make a date = Day 1 of the next month ie. 20060501, 20060601

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MattShoreson
 
Posts: n/a
Default Help make a date = Day 1 of the next month ie. 20060501, 20060601


most vague


--
MattShoreson
------------------------------------------------------------------------
MattShoreson's Profile: http://www.excelforum.com/member.php...fo&userid=3472
View this thread: http://www.excelforum.com/showthread...hreadid=530525

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Niek Otten
 
Posts: n/a
Default Help make a date = Day 1 of the next month ie. 20060501, 20060601

If it is a real Excel date, formatted as yyyymmdd:

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

If however, it is the number 20060501:

=DATE(LEFT(A10,4),MID(A10,5,2)+1,1)

--
Kind regards,

Niek Otten

"JS1" wrote in message ...
Thanks



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JE McGimpsey
 
Posts: n/a
Default Help make a date = Day 1 of the next month ie. 20060501, 20060601

One way:

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

format with Format/Cells/Number/Custom yyyymmdd

Or if you want Text output:

=TEXT(DATE(YEAR(TODAY()),MONTH(TODAY())+1,1),"yyyy mmdd")

In article ,
JS1 wrote:

Thanks

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JS1
 
Posts: n/a
Default Help make a date = Day 1 of the next month ie. 20060501, 20060

**** Many thanks, Excel Guru's :-) ****


"JE McGimpsey" wrote:

One way:

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

format with Format/Cells/Number/Custom yyyymmdd

Or if you want Text output:

=TEXT(DATE(YEAR(TODAY()),MONTH(TODAY())+1,1),"yyyy mmdd")

In article ,
JS1 wrote:

Thanks


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
Get month from date [email protected] Excel Discussion (Misc queries) 2 November 9th 05 02:43 PM
Pulling a date in the current month Brian Excel Worksheet Functions 2 October 24th 05 05:57 PM
How do I break a date range by month? HeatherDawn Excel Discussion (Misc queries) 2 September 1st 05 07:31 PM
Formula for Extracting Month out of a Date column PokerZan Excel Discussion (Misc queries) 3 June 10th 05 08:30 PM
how do i make a date change automatically if i change one before . dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 09:21 PM


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