Hi,
I need a formula to get the end of previous month. I have the below formula which will give the end of month.
=DATE(YEAR(Date),1+MONTH(Date),1)-1
Hi,
I need a formula to get the end of previous month. I have the below formula which will give the end of month.
=DATE(YEAR(Date),1+MONTH(Date),1)-1
Try
Formula:Please Login or Register to view this content.
atul
If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.
Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".
=DATE(YEAR(Date),MONTH(Date),1)-1
will do that
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.
Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh
Thanks, avk
There is a function for this:
=EOMONTH(TODAY(),-1)
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Or:
=A1-DAY(A1)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks