Eomonth

EOMONTH

 

With the help of EOMONTH Function in excel, we determine the date of the last day of the month. It can be future or past date. We have to specify number of months before or after for this date. If use use eomonth(date,0), then it will return last day of date, which has given by us. If we use eomonth(date,2), positive number as month then it will go 2 months ahead and will return last date of that day. If we use eomonth(date, -1), negative number as month then it will go number of month in back date and will return date of last day of that month.

 

एक्सेल में EOMONTH function से हम किसी date के आगे या पीछे के month के अंतिम date को निश्चित करते हैं. हमें यह बताना पड़ता है की, कितने महीने आगे या पीछे जाना है. अगर हम eomonth(date,0) लिखते हैं तो यह इसी महीने का last date return करेगा. अगर हम edate(date,3) लिखते हैं तो आने वाले अगले 3 महीने का अंतिम तारीख return करेगा.

For Example:-

date(5-Dec-2017,3), तो यह 31-Mar-2017 return करेगा. अगर हम eomonth(5-Dec-2017,-२) लिखते हैं तो यह पिछले २ महीने के अंतिम तारीख यानी ३१-Oct-2017 return करेगा.

 

Syntax:-

=Eomonth(Startdate, Months)

Click here to Download File

 

 

 

Date-and-Time Function

Function