Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / September 2007

Tip: Looking for answers? Try searching our database.

Last day of the month

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Manos - 18 Sep 2007 14:56 GMT
Dear all

I have in sheet 1 an input date from a user.
I want to run in another sheet (let's say sheet2) based on that day the last
date of the month in order to make some calculations i need.
eg. input form user in A1 14/03/2002 - to be in B1 31/03/2002

Any suggestions?
Thanks in advance manos
Pranav Vaidya - 18 Sep 2007 15:02 GMT
use function EOMONTH.
for example, =EOMONTH(Sheet1!A1,0) will return the last day of the month.

Hope this helps!!
Signature

Pranav Vaidya
VBA Developer
PN, MH-India
If you think my answer is useful, please rate this post as an ANSWER!!

> Dear all
>
[quoted text clipped - 5 lines]
> Any suggestions?
> Thanks in advance manos
Bob Phillips - 18 Sep 2007 15:03 GMT
=Date(Year(Sheet1!A1),Month(Sheet1!A1)+1,0)

Signature

HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

> Dear all
>
[quoted text clipped - 6 lines]
> Any suggestions?
> Thanks in advance manos
Manos - 18 Sep 2007 15:26 GMT
Thank you

> Dear all
>
[quoted text clipped - 5 lines]
> Any suggestions?
> Thanks in advance manos
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.