Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
comotoman
 
Posts: n/a
Default Finding the last day of a month


i know how to find the first day of a month but how can i find the last
day of a month?

October 2005 First day is Sat 1st. I also need the formula to find Mon
31st.

Thanks


--
comotoman
------------------------------------------------------------------------
comotoman's Profile: http://www.excelforum.com/member.php...o&userid=27292
View this thread: http://www.excelforum.com/showthread...hreadid=477256

  #2   Report Post  
Chip Pearson
 
Posts: n/a
Default Finding the last day of a month

The 0th day of the next month is the last day of the current
month. Therefore, you can use a formula like

=DATE(2005,11,0)

to return the last day in October, 2005.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"comotoman"
wrote in
message
...

i know how to find the first day of a month but how can i find
the last
day of a month?

October 2005 First day is Sat 1st. I also need the formula to
find Mon
31st.

Thanks


--
comotoman
------------------------------------------------------------------------
comotoman's Profile:
http://www.excelforum.com/member.php...o&userid=27292
View this thread:
http://www.excelforum.com/showthread...hreadid=477256



  #3   Report Post  
Gary''s Student
 
Posts: n/a
Default Finding the last day of a month

If the date is in A1, then enter:

=DATE(YEAR(A1),MONTH(A1)+1,1)-1 in a cell to get the last day of that month
--
Gary''s Student


"comotoman" wrote:


i know how to find the first day of a month but how can i find the last
day of a month?

October 2005 First day is Sat 1st. I also need the formula to find Mon
31st.

Thanks


--
comotoman
------------------------------------------------------------------------
comotoman's Profile: http://www.excelforum.com/member.php...o&userid=27292
View this thread: http://www.excelforum.com/showthread...hreadid=477256


  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default Finding the last day of a month

Or just:

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



Gary''s Student wrote:

If the date is in A1, then enter:

=DATE(YEAR(A1),MONTH(A1)+1,1)-1 in a cell to get the last day of that month
--
Gary''s Student

"comotoman" wrote:


i know how to find the first day of a month but how can i find the last
day of a month?

October 2005 First day is Sat 1st. I also need the formula to find Mon
31st.

Thanks


--
comotoman
------------------------------------------------------------------------
comotoman's Profile: http://www.excelforum.com/member.php...o&userid=27292
View this thread: http://www.excelforum.com/showthread...hreadid=477256



--

Dave Peterson
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
Finding people born in a given month or after a given year Watercolor artist Excel Worksheet Functions 1 September 19th 05 05:02 PM
Finding the Sum of value each month Pjcan1 Excel Discussion (Misc queries) 6 June 15th 05 09:33 PM
Finding min and max date of a given month Caro-Kann Defence Excel Worksheet Functions 2 May 13th 05 06:33 PM
Add one month to the previuos month heater Excel Discussion (Misc queries) 5 February 10th 05 12:33 AM
Month Year Date Format Jamie Excel Worksheet Functions 2 February 7th 05 06:43 PM


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