Forum

Notifications
Clear all

formula which show last date of the month

4 Posts
3 Users
0 Reactions
125 Views
(@salim-gul)
Posts: 33
Trusted Member
Topic starter
 

Hi Mynda Treacy 

one of your video, you have teach about the formula of a particular day of the month, =IF(MOD(DAY(G2),30)=0,DAY(G2),"") this is a formula show a particular number of the month, from whole dates, now question is that if i want use only last number of the month, such as Jan last number is 31, while Feb have 28 last day of the month, please guide me about the formula which show end number of the month

regards 

salim

 
Posted : 26/01/2021 7:54 am
Anders Sehlstedt
(@sehlsan)
Posts: 968
Prominent Member
 

Hello,

You can simply use the EOMONTH function for this.

Br,
Anders

 
Posted : 26/01/2021 12:01 pm
(@salim-gul)
Posts: 33
Trusted Member
Topic starter
 

Hi Sir Anders Sehlstedt 

Thanks for your reply, actually i want a formula which show last date of month in number format, such as 28, 30 and 31, i hope you will easily understand from the sheet of attachment, column C and D guide you what i want. this formula will make easy financial calculation of income of the month. for example income multiply by  number of total days of month.

 
Posted : 27/01/2021 2:40 am
(@sunnykow)
Posts: 1417
Noble Member
 

Hi Salim

Just use =DAY(EOMONTH(G2,0))

 
Posted : 27/01/2021 3:59 am
Share: