Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Last day of the month

I have a series of reports that are always dated the last day of the month.

How can I determine the last day of the month so I can have column headings
that match the reports?

TIA


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Last day of the month

Hi George

The 0th day of the month is the last day of the previous month. Using
this fact if we add 1 to the month number and take the 0 day we gat the
last day of the month.

So with 01 Jan 07 in A1
=DATE(YEAR(A1),MONTH(A1)+1,0)
will return 31 Jan 2007

--
Regards

Roger Govier


"George W. Barrowcliff" wrote in message
...
I have a series of reports that are always dated the last day of the
month.

How can I determine the last day of the month so I can have column
headings that match the reports?

TIA



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Last day of the month

Thanks Roger, I see how that works, I added 2 to the month and it provides
exactly what I wanted.

Thanks again, GWB

"Roger Govier" wrote in message
...
Hi George

The 0th day of the month is the last day of the previous month. Using this
fact if we add 1 to the month number and take the 0 day we gat the last
day of the month.

So with 01 Jan 07 in A1
=DATE(YEAR(A1),MONTH(A1)+1,0)
will return 31 Jan 2007

--
Regards

Roger Govier


"George W. Barrowcliff" wrote in message
...
I have a series of reports that are always dated the last day of the
month.

How can I determine the last day of the month so I can have column
headings that match the reports?

TIA





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
Working days left in a month. [email protected] Excel Worksheet Functions 4 January 28th 07 09:56 PM
Match Last day of this month to last day of last month KCi Excel Discussion (Misc queries) 3 December 6th 06 03:39 PM
Finding values based on current month Paulc Excel Worksheet Functions 5 November 29th 06 12:19 PM
How to create a rolling 6 month average? anley Excel Discussion (Misc queries) 3 August 14th 06 12:41 PM
Month Year Date Format Jamie Excel Worksheet Functions 2 February 7th 05 06:43 PM


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