Why eomonth() function?

lezawang

Well-known Member
Joined
Mar 27, 2016
Messages
1,805
Office Version
  1. 2016
Platform
  1. Windows
Hi
I watched around 10 videos about Eomonth() function. I know how to use it now. I still do not understand why I need it. It is not difficult to find the end of month date. In one video, he said he would find the 5th date of the next month so he added Eomonth()+5 but again, that is not difficult to find and know. I wish I can see one real life example that it is really useful to use eomonth(). Thank you very much.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Well, as a comparison, I'd rather use EOMONTH() than
Excel Formula:
=DATE(YEAR(TODAY()),MONTH(TODAY())+1,1)-1
OR
Excel Formula:
=DATE(YEAR(TODAY()),MONTH(TODAY())+3,1)-1
 
Upvote 0
In Excel, there are often multiple ways to do things. You can add up a series of numbers with using SUM. You can calculate your own average without the AVERAGE function.
Having the EOMONTH function just makes it easier than having to do find the first day of the following month and subtract one.

I don't know about you, but I am usually all about convenience!
 
Upvote 0

Forum statistics

Threads
1,214,935
Messages
6,122,337
Members
449,077
Latest member
Jocksteriom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top